diff options
author | Timo Sirainen <cras@irssi.org> | 2002-02-15 07:31:25 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-02-15 07:31:25 +0000 |
commit | e30c1b4f8e3d74712d8e474277dc350082aa9f75 (patch) | |
tree | 37e73e4bb1ad04c9a1dea4a69639a5401025dff1 | |
parent | 3dc9cbbf243f6910d87c149579459dcb0382d94b (diff) | |
download | irssi-e30c1b4f8e3d74712d8e474277dc350082aa9f75.zip |
Some /NAMES fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2441 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/fe-common/core/fe-channels.c | 2 | ||||
-rw-r--r-- | src/fe-common/core/module-formats.c | 2 | ||||
-rw-r--r-- | src/fe-common/irc/fe-events-numeric.c | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/src/fe-common/core/fe-channels.c b/src/fe-common/core/fe-channels.c index 95829a35..64c5214c 100644 --- a/src/fe-common/core/fe-channels.c +++ b/src/fe-common/core/fe-channels.c @@ -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); } diff --git a/src/fe-common/core/module-formats.c b/src/fe-common/core/module-formats.c index a11a94bb..b3b4c8d6 100644 --- a/src/fe-common/core/module-formats.c +++ b/src/fe-common/core/module-formats.c @@ -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 } }, diff --git a/src/fe-common/irc/fe-events-numeric.c b/src/fe-common/irc/fe-events-numeric.c index 80627f88..c3aff141 100644 --- a/src/fe-common/irc/fe-events-numeric.c +++ b/src/fe-common/irc/fe-events-numeric.c @@ -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); } |