summaryrefslogtreecommitdiff
path: root/modules/pseudoclients
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pseudoclients')
-rw-r--r--modules/pseudoclients/chanserv/chanserv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pseudoclients/chanserv/chanserv.cpp b/modules/pseudoclients/chanserv/chanserv.cpp
index 3bab894e9..5dd83188f 100644
--- a/modules/pseudoclients/chanserv/chanserv.cpp
+++ b/modules/pseudoclients/chanserv/chanserv.cpp
@@ -310,7 +310,7 @@ class ChanServCore : public Module
void OnDelCore(NickServ::Account *nc) override
{
- int max_reg = Config->GetModule(this)->Get<int>("maxregistered");
+ unsigned int max_reg = Config->GetModule(this)->Get<unsigned int>("maxregistered");
for (ChanServ::Channel *ci : nc->GetRefs<ChanServ::Channel *>(ChanServ::channel))
{
if (ci->GetFounder() == nc)