1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 22:36:38 +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
+3 -1
View File
@@ -1,10 +1,12 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
ChangeLog - 2007-01-17
ChangeLog - 2007-01-21
Version 0.2.4 (under dev!):
* fixed crash when /away command is issued with no server connection
(bug #18839)
* fixed crash when closing a buffer opened on many windows
* fixed freeze with SSL server when disconnecting after connection loss
(bug #18735)
+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
{
+3 -1
View File
@@ -1,10 +1,12 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
ChangeLog - 2007-01-17
ChangeLog - 2007-01-21
Version 0.2.4 (under dev!):
* fixed crash when /away command is issued with no server connection
(bug #18839)
* fixed crash when closing a buffer opened on many windows
* fixed freeze with SSL server when disconnecting after connection loss
(bug #18735)
+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
{