mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 23:22:16 +02:00
Don't set channel->server = NULL when disconnecting, so scripts can still
use it in eg. "channel destroyed". Patch by Qrczak git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2648 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
dc4b7456dc
commit
bfae72766e
6 changed files with 5 additions and 6 deletions
|
|
@ -162,7 +162,7 @@ static void sig_remove_rejoin(IRC_CHANNEL_REC *channel)
|
|||
{
|
||||
REJOIN_REC *rec;
|
||||
|
||||
if (!IS_IRC_CHANNEL(channel) || channel->server == NULL)
|
||||
if (!IS_IRC_CHANNEL(channel))
|
||||
return;
|
||||
|
||||
rec = rejoin_find(channel->server, channel->name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue