diff options
Diffstat (limited to 'modules/chanserv')
| -rw-r--r-- | modules/chanserv/chanserv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/chanserv/chanserv.cpp b/modules/chanserv/chanserv.cpp index 259a92842..1fdded2d0 100644 --- a/modules/chanserv/chanserv.cpp +++ b/modules/chanserv/chanserv.cpp @@ -154,7 +154,7 @@ public: { std::deque<ChannelInfo *> chans; nc->GetChannelReferences(chans); - int max_reg = Config->GetModule(this).Get<int>("maxregistered"); + auto max_reg = Config->GetModule(this).Get<uint16_t>("maxregistered"); for (auto *ci : chans) { |
