&& !(channel->modes & MODE_APASS))
mNode->modes |= MODE_CHANOP;
+ if (IsLocal(user)) {
+ irc_join(user, channel);
+ }
+
for (n=0; n<jf_used; n++) {
/* Callbacks return true if they kick or kill the user,
* and we can continue without removing mNode. */
return NULL;
}
- if (IsLocal(user))
- irc_join(user, channel);
-
return mNode;
}