mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Merge pull request #461 from ailin-nemui/fix_squery
Revert "Removed the obsolete SQUERY and SERVLIST commands"
This commit is contained in:
parent
e68817f82b
commit
8cbf5f28f2
4 changed files with 48 additions and 3 deletions
|
|
@ -1018,11 +1018,15 @@ void irc_commands_init(void)
|
|||
command_bind_irc("trace", NULL, (SIGNAL_FUNC) command_self);
|
||||
/* SYNTAX: VERSION [<server>|<nick>] */
|
||||
command_bind_irc("version", NULL, (SIGNAL_FUNC) command_self);
|
||||
/* SYNTAX: SERVLIST [<mask> [<type>]] */
|
||||
command_bind_irc("servlist", NULL, (SIGNAL_FUNC) command_self);
|
||||
/* SYNTAX: SILENCE [[+|-]<nick!user@host>]
|
||||
SILENCE [<nick>] */
|
||||
command_bind_irc("silence", NULL, (SIGNAL_FUNC) command_self);
|
||||
command_bind_irc("unsilence", NULL, (SIGNAL_FUNC) cmd_unsilence);
|
||||
command_bind_irc("sconnect", NULL, (SIGNAL_FUNC) cmd_sconnect);
|
||||
/* SYNTAX: SQUERY <service> [<message>] */
|
||||
command_bind_irc("squery", NULL, (SIGNAL_FUNC) command_2self);
|
||||
/* SYNTAX: DIE */
|
||||
command_bind_irc("die", NULL, (SIGNAL_FUNC) command_self);
|
||||
/* SYNTAX: HASH */
|
||||
|
|
@ -1091,9 +1095,11 @@ void irc_commands_deinit(void)
|
|||
command_unbind("time", (SIGNAL_FUNC) command_self);
|
||||
command_unbind("trace", (SIGNAL_FUNC) command_self);
|
||||
command_unbind("version", (SIGNAL_FUNC) command_self);
|
||||
command_unbind("servlist", (SIGNAL_FUNC) command_self);
|
||||
command_unbind("silence", (SIGNAL_FUNC) command_self);
|
||||
command_unbind("unsilence", (SIGNAL_FUNC) cmd_unsilence);
|
||||
command_unbind("sconnect", (SIGNAL_FUNC) cmd_sconnect);
|
||||
command_unbind("squery", (SIGNAL_FUNC) command_2self);
|
||||
command_unbind("die", (SIGNAL_FUNC) command_self);
|
||||
command_unbind("hash", (SIGNAL_FUNC) command_self);
|
||||
command_unbind("oper", (SIGNAL_FUNC) cmd_oper);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue