mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
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
This commit is contained in:
parent
25358fa1ec
commit
718d85ceab
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user