summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-05-30 15:44:31 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-05-30 15:44:31 +0200
commit61854caa5a7819b303c7b60e182b54c0a06b2fab (patch)
tree5a166e8eed767c0138fdcb410950f6e31d26911f
parentacf049362779e2ab83cfb926457fcc968ab02c11 (diff)
parent9b172942217bc6c25a9c0be82a1704ffe4f642bc (diff)
Merge pull request #1174 from SaberUK/insp20+hideoper-warning
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;