Fix a minor warning in m_hideoper on some systems.

This commit is contained in:
Peter Powell 2016-05-03 18:47:15 +01:00
parent 685c30a590
commit 9b17294221

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;