From b57c7f4e466f72fdd2ac3deca42caa1ea7748338 Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 15 Oct 2007 20:59:05 +0000 Subject: In the grand tradition of huge fucking commits: - chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_connflood.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/m_connflood.cpp') 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(); } -- cgit v1.2.3