summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-commands.c
diff options
context:
space:
mode:
authorGeert Hauwaerts <geert@irssi.org>2004-09-18 20:56:33 +0000
committergeert <geert@dbcabf3a-b0e7-0310-adc4-f8d773084564>2004-09-18 20:56:33 +0000
commit4cc4ddc1a796aa2e579e61acefc0348022de7e4f (patch)
treeb06b058f0d1b62708a51fbd3abcbff89471bbc65 /src/irc/core/irc-commands.c
parent19ca0eb0598f40c696ba7ecba248197ee92bdead (diff)
downloadirssi-4cc4ddc1a796aa2e579e61acefc0348022de7e4f.zip
Fixed /KNOCK support.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3305 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/irc-commands.c')
-rw-r--r--src/irc/core/irc-commands.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/irc/core/irc-commands.c b/src/irc/core/irc-commands.c
index d0d3b683..107fec70 100644
--- a/src/irc/core/irc-commands.c
+++ b/src/irc/core/irc-commands.c
@@ -1017,6 +1017,8 @@ void irc_commands_init(void)
command_bind_irc("admin", NULL, (SIGNAL_FUNC) command_self);
/* SYNTAX: INFO [<server>] */
command_bind_irc("info", NULL, (SIGNAL_FUNC) command_self);
+ /* SYNTAX: KNOCK <channel> */
+ command_bind_irc("knock", NULL, (SIGNAL_FUNC) command_self);
/* SYNTAX: LINKS [[<server>] <mask>] */
command_bind_irc("links", NULL, (SIGNAL_FUNC) command_self);
/* SYNTAX: LUSERS [<server mask> [<remote server>]] */
@@ -1108,6 +1110,7 @@ void irc_commands_deinit(void)
command_unbind("ison", (SIGNAL_FUNC) command_1self);
command_unbind("admin", (SIGNAL_FUNC) command_self);
command_unbind("info", (SIGNAL_FUNC) command_self);
+ command_unbind("knock", (SIGNAL_FUNC) command_self);
command_unbind("links", (SIGNAL_FUNC) command_self);
command_unbind("lusers", (SIGNAL_FUNC) command_self);
command_unbind("map", (SIGNAL_FUNC) command_self);