diff options
| author | 2004-04-25 00:39:52 +0000 | |
|---|---|---|
| committer | 2004-04-25 00:39:52 +0000 | |
| commit | cab377b0f887c00d0a7bafaaa29d76cace1bf493 (patch) | |
| tree | 74eb6902877d6c850e8231641937510e4223d06c /src/mode.cpp | |
| parent | XLine fixes and fix to +l with large limits (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.cpp | 2 |
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) { |
