mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Merge pull request #1174 from SaberUK/insp20+hideoper-warning
Fix a minor warning in m_hideoper on some systems.
This commit is contained in:
commit
61854caa5a
@ -94,7 +94,7 @@ class ModuleHideOper : public Module
|
||||
if (opercount)
|
||||
{
|
||||
active = true;
|
||||
user->WriteNumeric(252, "%s %lu :operator(s) online", user->nick.c_str(), opercount);
|
||||
user->WriteNumeric(252, "%s %lu :operator(s) online", user->nick.c_str(), static_cast<unsigned long>(opercount));
|
||||
active = false;
|
||||
}
|
||||
return MOD_RES_DENY;
|
||||
|
Loading…
x
Reference in New Issue
Block a user