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:
@@ -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
@@ -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
@@ -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)
|
||||
|
||||
@@ -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