mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
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:
parent
eee71a093a
commit
4475a04841
2 changed files with 34 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue