Merge pull request #1174 from SaberUK/insp20+hideoper-warning

Fix a minor warning in m_hideoper on some systems.
This commit is contained in:
Attila Molnar 2016-05-30 15:44:31 +02:00
commit 61854caa5a

View File

@ -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;