X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/dab6375a1ee20c724bf93dda872245567b11d733..12e395252c53be5a83a78776523644ddab6c5865:/extensions/m_okick.c?ds=inline diff --git a/extensions/m_okick.c b/extensions/m_okick.c index 780e1ed..bf1ea2c 100644 --- a/extensions/m_okick.c +++ b/extensions/m_okick.c @@ -37,8 +37,6 @@ #include "s_conf.h" #include "s_serv.h" -struct module_modes ModuleModes; - static int mo_okick(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]); @@ -142,7 +140,7 @@ mo_okick(struct Client *client_p, struct Client *source_p, int parc, const char rb_snprintf(text, sizeof(text), "K%s", who->id); /* we don't need to track NOREJOIN stuff unless it's our client being kicked */ - if(MyClient(who) && chptr->mode.mode & ModuleModes.MODE_NOREJOIN) + if(MyClient(who) && chptr->mode.mode & MODE_NOREJOIN) channel_metadata_time_add(chptr, text, rb_current_time(), "KICKNOREJOIN"); return 0; }