summaryrefslogtreecommitdiff
path: root/src/fe-common/irc
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-09-19 21:14:35 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-09-19 21:14:35 +0000
commite316475afd4e77e6507c662ee272e5ed07893f85 (patch)
tree39a8c91a72c59808e4fe9e7c62a5774c7a248ae8 /src/fe-common/irc
parent0790ad02f6a2f734538828e6966323e4da5d0c8c (diff)
downloadirssi-e316475afd4e77e6507c662ee272e5ed07893f85.zip
Netsplit fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@663 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/irc')
-rw-r--r--src/fe-common/irc/fe-netjoin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/irc/fe-netjoin.c b/src/fe-common/irc/fe-netjoin.c
index ffbd817b..3eb49a9e 100644
--- a/src/fe-common/irc/fe-netjoin.c
+++ b/src/fe-common/irc/fe-netjoin.c
@@ -355,7 +355,7 @@ static void event_mode(const char *data, IRC_SERVER_REC *server,
if (*mode == 'o' && *nick != NULL) {
/* give/remove ops */
rec = netjoin_find(server, *nick);
- if (rec != NULL && !netjoin_set_operator(rec, channel, type == '+'))
+ if (rec == NULL || !netjoin_set_operator(rec, channel, type == '+'))
show = TRUE;
nick++;
} else {