1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 11:13:12 +02:00

Fixed crash when /away command is issued with no server connection (bug #18839)

This commit is contained in:
Sebastien Helleu
2007-01-21 11:54:45 +00:00
parent 0213633fb8
commit dc80d87b0e
4 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -349,7 +349,7 @@ irc_cmd_send_away (t_irc_server *server, t_irc_channel *channel,
}
else
{
if (server->is_connected)
if (server && server->is_connected)
irc_send_away (server, arguments);
else
{