summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2016-05-03 18:47:15 +0100
committerPeter Powell <petpow@saberuk.com>2016-05-03 18:51:23 +0100
commit9b172942217bc6c25a9c0be82a1704ffe4f642bc (patch)
tree9a24fc3ad6d6c95ab5684320d27ddc2fdf07422c
parent685c30a5908de0fc2e8701d76bad0c13397eb8d9 (diff)
Fix a minor warning in m_hideoper on some systems.
-rw-r--r--src/modules/m_hideoper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_hideoper.cpp b/src/modules/m_hideoper.cpp
index 9d50bd2e5..32999d9f0 100644
--- a/src/modules/m_hideoper.cpp
+++ b/src/modules/m_hideoper.cpp
@@ -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;