mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
Some /NAMES fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2441 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
3dc9cbbf24
commit
e30c1b4f8e
@ -496,7 +496,7 @@ void fe_channels_nicklist(CHANNEL_REC *channel, int flags)
|
||||
g_slist_free(sorted);
|
||||
|
||||
printformat(channel->server, channel->name,
|
||||
MSGLEVEL_CLIENTCRAP, TXT_ENDOFNAMES,
|
||||
MSGLEVEL_CLIENTNOTICE, TXT_ENDOFNAMES,
|
||||
channel->name, nicks, ops, halfops, voices, normal);
|
||||
}
|
||||
|
||||
|
@ -107,7 +107,7 @@ FORMAT_REC fecommon_core_formats[] = {
|
||||
{ "talking_in", "You are now talking in {channel $0}", 1, { 0 } },
|
||||
{ "not_in_channels", "You are not on any channels", 0 },
|
||||
{ "current_channel", "Current channel {channel $0}", 1, { 0 } },
|
||||
{ "names", "{names_users Users {names_channel $0}} $1", 6, { 0, 1, 1, 1, 1, 1 } },
|
||||
{ "names", "{names_users Users {names_channel $0}}", 6, { 0, 1, 1, 1, 1, 1 } },
|
||||
{ "names_prefix", "{names_prefix $0}", 1, { 0 } },
|
||||
{ "names_nick_op", "{names_nick_op $0 $1}", 2, { 0, 0 } },
|
||||
{ "names_nick_halfop", "{names_nick_halfop $0 $1}", 2, { 0, 0 } },
|
||||
|
@ -74,7 +74,9 @@ static void event_names_list(IRC_SERVER_REC *server, const char *data)
|
||||
if (irc_channel_find(server, channel) == NULL) {
|
||||
printformat_module("fe-common/core", server, channel,
|
||||
MSGLEVEL_CRAP, TXT_NAMES,
|
||||
channel, names);
|
||||
channel, 0, 0, 0, 0, 0);
|
||||
printtext(server, channel, MSGLEVEL_CRAP, "%s", names);
|
||||
|
||||
}
|
||||
g_free(params);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user