diff options
| author | 2007-05-01 20:25:45 +0000 | |
|---|---|---|
| committer | 2007-05-01 20:25:45 +0000 | |
| commit | 2c04423995da525bd762dea2bbde9d3bb522f8c2 (patch) | |
| tree | 9c6cbdbfbce3f5a67cbb693fafe8adce07b38b4e /include | |
| parent | Much more detailed logging of lowlevel socket errors to the +l snomask (diff) | |
| download | inspircd++-2c04423995da525bd762dea2bbde9d3bb522f8c2.tar.gz inspircd++-2c04423995da525bd762dea2bbde9d3bb522f8c2.tar.bz2 inspircd++-2c04423995da525bd762dea2bbde9d3bb522f8c2.zip | |
Implement feature request in bug #271 by HiroP, allow disabling of maxlocal and maxglobal by leaving out each value from the tag
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6857 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
| -rw-r--r-- | include/users.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/users.h b/include/users.h index 80d9fb00c..0b5bc467f 100644 --- a/include/users.h +++ b/include/users.h @@ -223,14 +223,14 @@ public: */ unsigned long GetMaxLocal() { - return (maxlocal ? maxlocal : 1); + return maxlocal; } /** Returns the maximum number of global sessions */ unsigned long GetMaxGlobal() { - return (maxglobal ? maxglobal : 1); + return maxglobal; } }; |
