X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/3c7d6fcce7a021ea7c4948a37a32aeca072e5b10..ea51635c016b132b4674468ab06b503d4fac74cd:/modules/m_whowas.c diff --git a/modules/m_whowas.c b/modules/m_whowas.c index 7f6e0926..1566f402 100644 --- a/modules/m_whowas.c +++ b/modules/m_whowas.c @@ -25,7 +25,6 @@ #include "stdinc.h" #include "whowas.h" #include "client.h" -#include "common.h" #include "hash.h" #include "match.h" #include "ircd.h" @@ -38,6 +37,7 @@ #include "msg.h" #include "parse.h" #include "modules.h" +#include "s_newconf.h" static const char whowas_desc[] = "Provides the WHOWAS command to display information on a disconnected user"; @@ -71,7 +71,7 @@ m_whowas(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source static time_t last_used = 0L; - if(MyClient(source_p) && !IsOper(source_p)) + if(MyClient(source_p) && !IsOperGeneral(source_p)) { if(last_used + (parc > 3 ? ConfigFileEntry.pace_wait : ConfigFileEntry.pace_wait_simple