If you're pasting text to channel and some of it starts with /, Irssi

will send the "/command" to channel if it doesn't exist (instead of
just printing "unknown command").


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@419 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-07-02 19:22:30 +00:00 committed by cras
commit 4475a04841
2 changed files with 34 additions and 3 deletions

View file

@ -996,6 +996,7 @@ void irc_commands_init(void)
command_bind("lusers", NULL, (SIGNAL_FUNC) command_self);
command_bind("map", NULL, (SIGNAL_FUNC) command_self);
command_bind("motd", NULL, (SIGNAL_FUNC) command_self);
command_bind("rehash", NULL, (SIGNAL_FUNC) command_self);
command_bind("stats", NULL, (SIGNAL_FUNC) command_self);
command_bind("time", NULL, (SIGNAL_FUNC) command_self);
command_bind("trace", NULL, (SIGNAL_FUNC) command_self);
@ -1069,6 +1070,7 @@ void irc_commands_deinit(void)
command_unbind("lusers", (SIGNAL_FUNC) command_self);
command_unbind("map", (SIGNAL_FUNC) command_self);
command_unbind("motd", (SIGNAL_FUNC) command_self);
command_unbind("rehash", (SIGNAL_FUNC) command_self);
command_unbind("stats", (SIGNAL_FUNC) command_self);
command_unbind("time", (SIGNAL_FUNC) command_self);
command_unbind("trace", (SIGNAL_FUNC) command_self);