summaryrefslogtreecommitdiff
path: root/src/modules/m_connectban.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_connectban.cpp')
-rw-r--r--src/modules/m_connectban.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_connectban.cpp b/src/modules/m_connectban.cpp
index e0f9717c4..58b3bfeda 100644
--- a/src/modules/m_connectban.cpp
+++ b/src/modules/m_connectban.cpp
@@ -52,7 +52,7 @@ class ModuleConnectBan : public Module
if (u->exempt)
return;
- int range = 32;
+ unsigned char range = 32;
switch (u->client_sa.sa.sa_family)
{