diff options
author | Timo Sirainen <cras@irssi.org> | 2002-04-22 09:12:41 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-04-22 09:12:41 +0000 |
commit | 22c0877b56801d538ac73e4026ca536d94bca678 (patch) | |
tree | aef7baf918caf0fd2f53470098c02745402496ff /src/fe-common/irc | |
parent | bcc1bc73be1ab0ded89ca5b2b533ce004f339872 (diff) | |
download | irssi-22c0877b56801d538ac73e4026ca536d94bca678.zip |
"message mode" -> "message irc mode", also added in signals.txt
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2701 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/irc')
-rw-r--r-- | src/fe-common/irc/fe-events.c | 2 | ||||
-rw-r--r-- | src/fe-common/irc/fe-modes.c | 6 | ||||
-rw-r--r-- | src/fe-common/irc/fe-netjoin.c | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/fe-common/irc/fe-events.c b/src/fe-common/irc/fe-events.c index e8a9bbef..88839238 100644 --- a/src/fe-common/irc/fe-events.c +++ b/src/fe-common/irc/fe-events.c @@ -205,7 +205,7 @@ static void event_mode(IRC_SERVER_REC *server, const char *data, params = event_get_params(data, 2 | PARAM_FLAG_GETREST, &channel, &mode); - signal_emit("message mode", 5, server, channel, nick, addr, + signal_emit("message irc mode", 5, server, channel, nick, addr, g_strchomp(mode)); g_free(params); } diff --git a/src/fe-common/irc/fe-modes.c b/src/fe-common/irc/fe-modes.c index 753b8ac1..8b436107 100644 --- a/src/fe-common/irc/fe-modes.c +++ b/src/fe-common/irc/fe-modes.c @@ -157,7 +157,7 @@ static void msg_multi_mode(IRC_CHANNEL_REC *channel, const char *sender, signal_stop(); } -/* FIXME: should be moved to fe-common/core/fe-messages.c.. */ +/* FIXME: should be moved to fe-irc-messages.c.. */ static void sig_message_mode(IRC_SERVER_REC *server, const char *channel, const char *nick, const char *addr, const char *mode) @@ -215,7 +215,7 @@ void fe_modes_init(void) mode_tag = -1; read_settings(); - signal_add("message mode", (SIGNAL_FUNC) sig_message_mode); + signal_add("message irc mode", (SIGNAL_FUNC) sig_message_mode); signal_add("setup changed", (SIGNAL_FUNC) read_settings); } @@ -224,7 +224,7 @@ void fe_modes_deinit(void) if (mode_tag != -1) g_source_remove(mode_tag); - signal_remove("message mode", (SIGNAL_FUNC) sig_message_mode); + signal_remove("message irc mode", (SIGNAL_FUNC) sig_message_mode); signal_remove("setup changed", (SIGNAL_FUNC) read_settings); signal_remove("print starting", (SIGNAL_FUNC) sig_print_starting); diff --git a/src/fe-common/irc/fe-netjoin.c b/src/fe-common/irc/fe-netjoin.c index 400b198c..90cf76b7 100644 --- a/src/fe-common/irc/fe-netjoin.c +++ b/src/fe-common/irc/fe-netjoin.c @@ -399,11 +399,11 @@ static void read_settings(void) if (old_hide && !hide_netsplit_quits) { signal_remove("message quit", (SIGNAL_FUNC) msg_quit); signal_remove("message join", (SIGNAL_FUNC) msg_join); - signal_remove("message mode", (SIGNAL_FUNC) msg_mode); + signal_remove("message irc mode", (SIGNAL_FUNC) msg_mode); } else if (!old_hide && hide_netsplit_quits) { signal_add("message quit", (SIGNAL_FUNC) msg_quit); signal_add("message join", (SIGNAL_FUNC) msg_join); - signal_add("message mode", (SIGNAL_FUNC) msg_mode); + signal_add("message irc mode", (SIGNAL_FUNC) msg_mode); } } @@ -432,5 +432,5 @@ void fe_netjoin_deinit(void) signal_remove("message quit", (SIGNAL_FUNC) msg_quit); signal_remove("message join", (SIGNAL_FUNC) msg_join); - signal_remove("message mode", (SIGNAL_FUNC) msg_mode); + signal_remove("message irc mode", (SIGNAL_FUNC) msg_mode); } |