summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-25 00:39:52 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-25 00:39:52 +0000
commitcab377b0f887c00d0a7bafaaa29d76cace1bf493 (patch)
tree74eb6902877d6c850e8231641937510e4223d06c /src/mode.cpp
parent5b00f1a19622514d2e7b29b23463f0e80fec3c93 (diff)
Mode +l fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@722 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index f23546d75..5aac8191d 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -659,7 +659,7 @@ void process_modes(char **parameters,userrec* user,chanrec *chan,int status, int
// reported by mech: large values cause underflow
if (chan->limit < 0)
- chan->limit = MAXINT;
+ chan->limit = 0x7FFFFF;
if (chan->limit)
{