1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-30 06:45:25 +00: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:
Timo Sirainen 2002-02-15 07:31:25 +00:00 committed by cras
parent 3dc9cbbf24
commit e30c1b4f8e
3 changed files with 5 additions and 3 deletions

View File

@ -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);
}

View File

@ -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 } },

View File

@ -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);
}