diff options
author | Timo Sirainen <cras@irssi.org> | 2002-04-12 22:55:10 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-04-12 22:55:10 +0000 |
commit | 5ff21626b254ec02ce50b6f9e3cfff77a24b7cb7 (patch) | |
tree | dee3236f7feff499c01c9a4cb20867a84285f749 /src/fe-common | |
parent | d5c15a8ee394ca824fe13f0ab99f55cf2a6bba59 (diff) | |
download | irssi-5ff21626b254ec02ce50b6f9e3cfff77a24b7cb7.zip |
address parameter was missing from /FORMAT invite, nick_changed, kick and
topic.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2669 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r-- | src/fe-common/core/fe-messages.c | 8 | ||||
-rw-r--r-- | src/fe-common/core/module-formats.c | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/fe-common/core/fe-messages.c b/src/fe-common/core/fe-messages.c index 4b4e4db4..e83f0faa 100644 --- a/src/fe-common/core/fe-messages.c +++ b/src/fe-common/core/fe-messages.c @@ -396,7 +396,7 @@ static void sig_message_kick(SERVER_REC *server, const char *channel, const char *address, const char *reason) { printformat(server, channel, MSGLEVEL_KICKS, - TXT_KICK, nick, channel, kicker, reason); + TXT_KICK, nick, channel, kicker, reason, address); } static void print_nick_change_channel(SERVER_REC *server, const char *channel, @@ -415,7 +415,7 @@ static void print_nick_change_channel(SERVER_REC *server, const char *channel, printformat(server, channel, level, ownnick ? TXT_YOUR_NICK_CHANGED : TXT_NICK_CHANGED, - oldnick, newnick, channel); + oldnick, newnick, channel, address); } static void print_nick_change(SERVER_REC *server, const char *newnick, @@ -477,7 +477,7 @@ static void sig_message_invite(SERVER_REC *server, const char *channel, str = show_lowascii(channel); printformat(server, NULL, MSGLEVEL_INVITES, - TXT_INVITE, nick, str); + TXT_INVITE, nick, str, address); g_free(str); } @@ -487,7 +487,7 @@ static void sig_message_topic(SERVER_REC *server, const char *channel, { printformat(server, channel, MSGLEVEL_TOPICS, *topic != '\0' ? TXT_NEW_TOPIC : TXT_TOPIC_UNSET, - nick, channel, topic); + nick, channel, topic, address); } static int printnick_exists(NICK_REC *first, NICK_REC *ignore, diff --git a/src/fe-common/core/module-formats.c b/src/fe-common/core/module-formats.c index 245f1a6e..7c866144 100644 --- a/src/fe-common/core/module-formats.c +++ b/src/fe-common/core/module-formats.c @@ -95,15 +95,15 @@ FORMAT_REC fecommon_core_formats[] = { { "join", "{channick_hilight $0} {chanhost_hilight $1} has joined {channel $2}", 3, { 0, 0, 0 } }, { "part", "{channick $0} {chanhost $1} has left {channel $2} {reason $3}", 4, { 0, 0, 0, 0 } }, - { "kick", "{channick $0} was kicked from {channel $1} by {nick $2} {reason $3}", 4, { 0, 0, 0, 0 } }, + { "kick", "{channick $0} was kicked from {channel $1} by {nick $2} {reason $3}", 5, { 0, 0, 0, 0, 0 } }, { "quit", "{channick $0} {chanhost $1} has quit {reason $2}", 4, { 0, 0, 0, 0 } }, { "quit_once", "{channel $3} {channick $0} {chanhost $1} has quit {reason $2}", 4, { 0, 0, 0, 0 } }, - { "invite", "{nick $0} invites you to {channel $1}", 2, { 0, 0 } }, + { "invite", "{nick $0} invites you to {channel $1}", 3, { 0, 0, 0 } }, { "not_invited", "You have not been invited to a channel!", 0 }, - { "new_topic", "{nick $0} changed the topic of {channel $1} to: $2", 3, { 0, 0, 0 } }, - { "topic_unset", "Topic unset by {nick $0} on {channel $1}", 2, { 0, 0 } }, + { "new_topic", "{nick $0} changed the topic of {channel $1} to: $2", 4, { 0, 0, 0, 0 } }, + { "topic_unset", "Topic unset by {nick $0} on {channel $1}", 4, { 0, 0, 0, 0 } }, { "your_nick_changed", "You're now known as {nick $1}", 3, { 0, 0, 0 } }, - { "nick_changed", "{channick $0} is now known as {channick_hilight $1}", 3, { 0, 0, 0 } }, + { "nick_changed", "{channick $0} is now known as {channick_hilight $1}", 4, { 0, 0, 0, 0 } }, { "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 } }, |