summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-11-16 16:09:44 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-11-16 16:09:44 +0000
commit718d85ceabf8d2304020b46aa726fd04dda421c2 (patch)
tree34d15b59f52dfb80ce88f85525e3440d78f1830a
parent25358fa1ecc9f5a5556d356387b8a93051bbac8c (diff)
downloadirssi-718d85ceabf8d2304020b46aa726fd04dda421c2.zip
Do not check in irc cmd_away that the active item server is an irc
server, it prevents /away from working when the active item server is not an irc one. The check is already performed in irc_server_send_away, so /away -one is unchanged. Patch by Gabor Adam Toth. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4914 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/irc/core/irc-commands.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/irc/core/irc-commands.c b/src/irc/core/irc-commands.c
index 2299f7cf..a6103f36 100644
--- a/src/irc/core/irc-commands.c
+++ b/src/irc/core/irc-commands.c
@@ -536,8 +536,6 @@ static void cmd_away(const char *data, IRC_SERVER_REC *server)
char *reason;
void *free_arg;
- CMD_IRC_SERVER(server);
-
if (!cmd_get_params(data, &free_arg, 1 | PARAM_FLAG_OPTIONS |
PARAM_FLAG_GETREST, "away", &optlist, &reason)) return;