diff options
-rw-r--r-- | src/irc/core/channel-events.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/irc/core/channel-events.c b/src/irc/core/channel-events.c index 8ee469a4..21c3d90a 100644 --- a/src/irc/core/channel-events.c +++ b/src/irc/core/channel-events.c @@ -250,7 +250,8 @@ static void event_join(IRC_SERVER_REC *server, const char *data, const char *nic forgot to send PART between */ chanrec->left = TRUE; channel_destroy(CHANNEL(chanrec)); - chanrec = NULL; } + chanrec = NULL; + } if (chanrec == NULL) { /* look again, because of the channel name cut issues. */ |