diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-23 23:54:24 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-23 23:54:24 +0000 |
commit | 5b80dc83fdb6b7952e452a8eb2355005fdb5366c (patch) | |
tree | dc673bae45908b8169f91d973376d1f5ff56b833 /src/modules | |
parent | c43805606f43b3b93e76ef9a250eb0ea367b980a (diff) |
Move some stuff from using userrec cached stuff to using stuff in the connect classes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8339 e03df62e-2008-0410-955e-edbf42e46eb7
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"); |