diff options
author | Wouter Coekaerts <coekie@irssi.org> | 2005-01-12 02:09:07 +0000 |
---|---|---|
committer | coekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2005-01-12 02:09:07 +0000 |
commit | ecae975c2b7d0ba93da76fd5c6b1b63392d8248f (patch) | |
tree | f7441af35cb3ad41e8397c84abb3d6d47ba2d7a6 /src/fe-common/irc/fe-ircnet.c | |
parent | d8cfab7f434114cde15b4b5104f30b60a44b26be (diff) | |
download | irssi-ecae975c2b7d0ba93da76fd5c6b1b63392d8248f.zip |
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
Diffstat (limited to 'src/fe-common/irc/fe-ircnet.c')
-rw-r--r-- | src/fe-common/irc/fe-ircnet.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-common/irc/fe-ircnet.c b/src/fe-common/irc/fe-ircnet.c index 9990d836..ef9612c3 100644 --- a/src/fe-common/irc/fe-ircnet.c +++ b/src/fe-common/irc/fe-ircnet.c @@ -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); |