1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Added IRCNET command again, as a deprecated alias for NETWORK

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3701 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Wouter Coekaerts 2005-01-12 02:09:07 +00:00 committed by coekie
parent d8cfab7f43
commit ecae975c2b
2 changed files with 6 additions and 0 deletions

4
docs/help/in/ircnet.in Normal file
View File

@ -0,0 +1,4 @@
IRCNET
Deprecated. Use NETWORK instead.

View File

@ -180,6 +180,7 @@ static void cmd_network(const char *data, SERVER_REC *server, WI_ITEM_REC *item)
void fe_ircnet_init(void)
{
command_bind("ircnet", NULL, (SIGNAL_FUNC) cmd_network);
command_bind("network", NULL, (SIGNAL_FUNC) cmd_network);
command_bind("network list", NULL, (SIGNAL_FUNC) cmd_network_list);
command_bind("network add", NULL, (SIGNAL_FUNC) cmd_network_add);
@ -190,6 +191,7 @@ void fe_ircnet_init(void)
void fe_ircnet_deinit(void)
{
command_unbind("ircnet", (SIGNAL_FUNC) cmd_network);
command_unbind("network", (SIGNAL_FUNC) cmd_network);
command_unbind("network list", (SIGNAL_FUNC) cmd_network_list);
command_unbind("network add", (SIGNAL_FUNC) cmd_network_add);