diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-08 14:38:24 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-08 14:38:24 +0000 |
commit | 93876363f89ea7a451ba1e18407e08a539854208 (patch) | |
tree | 25b70293d4358ce4af60e355a4b3a8483d666699 /src/modules/m_connflood.cpp | |
parent | 6ab1d0dffb8084bf6a2ad8a446a3836fa3760c8a (diff) |
kill_link() and Server::QuitUser() -> userrec::QuitUser() (static member) - this cant be a normal member as it causes the userrec to be deleted, and "delete this" is bad, mmm'k
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4789 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_connflood.cpp')
-rw-r--r-- | src/modules/m_connflood.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_connflood.cpp b/src/modules/m_connflood.cpp index 8df8ecefc..e5d3fd2ad 100644 --- a/src/modules/m_connflood.cpp +++ b/src/modules/m_connflood.cpp @@ -94,7 +94,7 @@ public: Srv->SendOpers("*** Connection throttle deactivated"); return; } - Srv->QuitUser(user, quitmsg); + userrec::QuitUser(user, quitmsg); return; } @@ -104,7 +104,7 @@ public: { throttled = 1; Srv->SendOpers("*** Connection throttle activated"); - Srv->QuitUser(user, quitmsg); + userrec::QuitUser(user, quitmsg); return; } } |