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:
+1
-1
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user