summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-13 12:21:56 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-13 12:21:56 +0000
commit410ab3372b07693f3531ecea03611c5b865bc68a (patch)
treea8c6d01fb34726ad880a373b711d367ab9ac1746 /src/modules
parent901a29507856b30d8995efb3ab132ba68eb35837 (diff)
More changes from patch. Don't throttle opers due to server load.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7716 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_safelist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_safelist.cpp b/src/modules/m_safelist.cpp
index 4adfc0011..5059b9f77 100644
--- a/src/modules/m_safelist.cpp
+++ b/src/modules/m_safelist.cpp
@@ -95,7 +95,7 @@ class ModuleSafeList : public Module
{
int minusers = 0, maxusers = 0;
- if (global_listing >= LimitList)
+ if (global_listing >= LimitList && !IS_OPER(user))
{
user->WriteServ("NOTICE %s :*** Server load is currently too heavy. Please try again later.", user->nick);
user->WriteServ("321 %s Channel :Users Name",user->nick);