]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_connectban.cpp
Allow the maximum length of a chanfilter message to be configured.
[user/henk/code/inspircd.git] / src / modules / m_connectban.cpp
index e0f9717c4cb99181e39e6d4d9261922ff9471447..58b3bfeda6e8ad8d228e4433e02a5636a544774f 100644 (file)
@@ -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)
                {