mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
multiprotocol fixes for /AWAY -all
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@693 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
6dd07c76cb
commit
4e4ba04b7e
@ -593,6 +593,9 @@ static void cmd_ping(const char *data, IRC_SERVER_REC *server, WI_ITEM_REC *item
|
||||
|
||||
static void server_send_away(IRC_SERVER_REC *server, const char *reason)
|
||||
{
|
||||
if (!IS_IRC_SERVER(server))
|
||||
return;
|
||||
|
||||
g_free_not_null(server->away_reason);
|
||||
server->away_reason = g_strdup(reason);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user