diff options
Diffstat (limited to 'src/modules/m_connflood.cpp')
-rw-r--r-- | src/modules/m_connflood.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_connflood.cpp b/src/modules/m_connflood.cpp index e3fea0521..d6d9eee0f 100644 --- a/src/modules/m_connflood.cpp +++ b/src/modules/m_connflood.cpp @@ -64,7 +64,7 @@ public: first = ServerInstance->Time(); } - virtual int OnUserRegister(userrec* user) + virtual int OnUserRegister(User* user) { time_t next = ServerInstance->Time(); @@ -86,7 +86,7 @@ public: ServerInstance->WriteOpers("*** Connection throttle deactivated"); return 0; } - userrec::QuitUser(ServerInstance, user, quitmsg); + User::QuitUser(ServerInstance, user, quitmsg); return 1; } @@ -96,7 +96,7 @@ public: { throttled = 1; ServerInstance->WriteOpers("*** Connection throttle activated"); - userrec::QuitUser(ServerInstance, user, quitmsg); + User::QuitUser(ServerInstance, user, quitmsg); return 1; } } @@ -108,7 +108,7 @@ public: return 0; } - virtual void OnRehash(userrec* user, const std::string ¶meter) + virtual void OnRehash(User* user, const std::string ¶meter) { InitConf(); } |