X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/bfccb2c0e1d2a84dd7a3e9ed98dc742752e3f1e2..8e43b0b4146cdbacec61e83e8b8251c0b5a090c9:/modules/m_set.c diff --git a/modules/m_set.c b/modules/m_set.c index dba5687..6a72e75 100644 --- a/modules/m_set.c +++ b/modules/m_set.c @@ -28,12 +28,10 @@ #include "stdinc.h" #include "client.h" -#include "event.h" #include "irc_string.h" #include "sprintf_irc.h" #include "ircd.h" #include "numeric.h" -#include "commio.h" #include "s_serv.h" #include "send.h" #include "common.h" @@ -227,8 +225,8 @@ quote_max(struct Client *source_p, int newval) if(newval < 32) { - sendto_one_notice(source_p, ":You cannot set MAXCLIENTS to < 32 (%d:%d)", - GlobalSetOptions.maxclients, highest_fd); + sendto_one_notice(source_p, ":You cannot set MAXCLIENTS to < 32 (%d)", + GlobalSetOptions.maxclients); return; } @@ -380,7 +378,7 @@ quote_splitmode(struct Client *source_p, char *charval) splitmode = 0; splitchecking = 0; - rb_event_delete(check_splitmode, NULL); + rb_event_delete(check_splitmode_ev); } /* ON */ else if(newval == 1) @@ -393,7 +391,7 @@ quote_splitmode(struct Client *source_p, char *charval) splitchecking = 0; /* we might be deactivating an automatic splitmode, so pull the event */ - rb_event_delete(check_splitmode, NULL); + rb_event_delete(check_splitmode_ev); } /* AUTO */ else if(newval == 2)