diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_operflood.cpp | 1 | ||||
-rw-r--r-- | src/modules/m_safelist.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_operflood.cpp b/src/modules/m_operflood.cpp index 4532b7d3e..02a6b85f2 100644 --- a/src/modules/m_operflood.cpp +++ b/src/modules/m_operflood.cpp @@ -37,7 +37,6 @@ public: if(!IS_LOCAL(user))
return;
- user->flood = 0;
user->ExemptFromPenalty = true;
user->WriteServ("NOTICE %s :*** You are now free from flood limits.", user->nick);
}
diff --git a/src/modules/m_safelist.cpp b/src/modules/m_safelist.cpp index a2135bd6b..0155492fc 100644 --- a/src/modules/m_safelist.cpp +++ b/src/modules/m_safelist.cpp @@ -217,7 +217,7 @@ class ModuleSafeList : public Module } ld->list_position++; } - while ((chan != NULL) && (amount_sent < (user->sendqmax / 4))); + while ((chan != NULL) && (amount_sent < (user->MyClass->GetSendqMax() / 4))); if (ld->list_ended) { user->Shrink("safelist_cache"); |