summaryrefslogtreecommitdiff
path: root/src/fe-common/irc
diff options
context:
space:
mode:
authorValentin Batz <senneth@irssi.org>2004-09-17 15:55:34 +0000
committersenneth <senneth@dbcabf3a-b0e7-0310-adc4-f8d773084564>2004-09-17 15:55:34 +0000
commit6207383bd1000d8b386b418f80263cca992f3335 (patch)
treec5787cd8be6941c901ef46b2943f1e3cb53f444a /src/fe-common/irc
parentddc37ac5b22f95dd9f3738c832bffdc7b6faf0ee (diff)
downloadirssi-6207383bd1000d8b386b418f80263cca992f3335.zip
Added event 317, 319, 313, 330, 377, 378, 379, 327, 326 to src/fe-common/irc/fe-whois.c, fixes the printing of /whois -yes * (Bug 123)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3303 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/irc')
-rw-r--r--src/fe-common/irc/fe-whois.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/fe-common/irc/fe-whois.c b/src/fe-common/irc/fe-whois.c
index 68c7be1e..1fec032b 100644
--- a/src/fe-common/irc/fe-whois.c
+++ b/src/fe-common/irc/fe-whois.c
@@ -368,6 +368,17 @@ void fe_whois_init(void)
signal_add("event 311", (SIGNAL_FUNC) event_whois);
signal_add("event 312", (SIGNAL_FUNC) event_whois_server);
+ /* readding this events fixes the printing of /whois -yes *
+ Bug http://bugs.irssi.org/?do=details&id=123 */
+ signal_add("event 317", (SIGNAL_FUNC) event_whois_idle);
+ signal_add("event 319", (SIGNAL_FUNC) event_whois_channels);
+ signal_add("event 313", (SIGNAL_FUNC) event_whois_oper);
+ signal_add("event 330", (SIGNAL_FUNC) event_whois_auth);
+ signal_add("event 377", (SIGNAL_FUNC) event_whois_usermode);
+ signal_add("event 378", (SIGNAL_FUNC) event_whois_realhost);
+ signal_add("event 379", (SIGNAL_FUNC) event_whois_modes);
+ signal_add("event 327", (SIGNAL_FUNC) event_whois_realhost327);
+ signal_add("event 326", (SIGNAL_FUNC) event_whois_usermode326);
signal_add("whois away", (SIGNAL_FUNC) event_whois_away);
signal_add("whois oper", (SIGNAL_FUNC) event_whois_oper);
signal_add("whowas away", (SIGNAL_FUNC) event_whois_away);
@@ -381,6 +392,15 @@ void fe_whois_deinit(void)
{
signal_remove("event 311", (SIGNAL_FUNC) event_whois);
signal_remove("event 312", (SIGNAL_FUNC) event_whois_server);
+ signal_remove("event 317", (SIGNAL_FUNC) event_whois_idle);
+ signal_remove("event 319", (SIGNAL_FUNC) event_whois_channels);
+ signal_remove("event 313", (SIGNAL_FUNC) event_whois_oper);
+ signal_remove("event 330", (SIGNAL_FUNC) event_whois_auth);
+ signal_remove("event 377", (SIGNAL_FUNC) event_whois_usermode);
+ signal_remove("event 378", (SIGNAL_FUNC) event_whois_realhost);
+ signal_remove("event 379", (SIGNAL_FUNC) event_whois_modes);
+ signal_remove("event 327", (SIGNAL_FUNC) event_whois_realhost327);
+ signal_remove("event 326", (SIGNAL_FUNC) event_whois_usermode326);
signal_remove("whois away", (SIGNAL_FUNC) event_whois_away);
signal_remove("whois oper", (SIGNAL_FUNC) event_whois_oper);
signal_remove("whowas away", (SIGNAL_FUNC) event_whois_away);