X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/7ab1bb39ab038cd1061ecfb4b437c748b51a29d7..a58b84b4b21c7b8d5089252f29c2b2909eae90e1:/modules/core/m_kick.c diff --git a/modules/core/m_kick.c b/modules/core/m_kick.c index aa24d9c..a85b7a7 100644 --- a/modules/core/m_kick.c +++ b/modules/core/m_kick.c @@ -230,7 +230,7 @@ m_kick(struct Client *client_p, struct Client *source_p, int parc, const char *p remove_user_from_channel(msptr); /* we don't need to track NOREJOIN stuff unless it's our client being kicked */ - if(MyClient(source_p) && chptr->mode.mode & MODE_NOREJOIN) + if(MyClient(who) && chptr->mode.mode & MODE_NOREJOIN) channel_metadata_time_add(chptr, "KICKNOREJOIN", rb_current_time(), who->id); } else if (MyClient(source_p))