diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2007-01-21 11:54:45 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2007-01-21 11:54:45 +0000 |
commit | dc80d87b0ebab47ac37cc98f901e442a3e460006 (patch) | |
tree | 7335986fb874e60526afddf633661bd709c85616 /src | |
parent | 0213633fb84d16222369e8518646cc7eb87209b6 (diff) | |
download | weechat-dc80d87b0ebab47ac37cc98f901e442a3e460006.zip |
Fixed crash when /away command is issued with no server connection (bug #18839)
Diffstat (limited to 'src')
-rw-r--r-- | src/irc/irc-send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/irc-send.c b/src/irc/irc-send.c index 1fa0f0daa..41dfcb024 100644 --- a/src/irc/irc-send.c +++ b/src/irc/irc-send.c @@ -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 { |