summaryrefslogtreecommitdiff
path: root/src/irc/core/channel-rejoin.c
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2015-05-15 16:42:51 +0200
committerLemonBoy <thatlemon@gmail.com>2015-05-15 17:07:30 +0200
commit16c71cf1fbc1e7987fdde821813005b87237e951 (patch)
treed5af65015c8f3acd5c9c0fe3ac3d8950ebf85637 /src/irc/core/channel-rejoin.c
parentc122a2a226363114e11f32072395e2f06ad6a450 (diff)
downloadirssi-16c71cf1fbc1e7987fdde821813005b87237e951.zip
Implement CHANTYPES support
Diffstat (limited to 'src/irc/core/channel-rejoin.c')
-rw-r--r--src/irc/core/channel-rejoin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/channel-rejoin.c b/src/irc/core/channel-rejoin.c
index 68a1dee1..154035ae 100644
--- a/src/irc/core/channel-rejoin.c
+++ b/src/irc/core/channel-rejoin.c
@@ -149,7 +149,7 @@ static void event_target_unavailable(IRC_SERVER_REC *server, const char *data)
g_return_if_fail(data != NULL);
params = event_get_params(data, 2, NULL, &channel);
- if (ischannel(*channel)) {
+ if (server_ischannel(SERVER(server), channel)) {
chanrec = irc_channel_find(server, channel);
if (chanrec != NULL && chanrec->joined) {
/* dalnet event - can't change nick while