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_remove.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/modules/m_remove.cpp') diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp index 9de0942c1..22e4b6490 100644 --- a/src/modules/m_remove.cpp +++ b/src/modules/m_remove.cpp @@ -69,12 +69,12 @@ class RemoveBase } } - CmdResult Handle (const char** parameters, int pcnt, userrec *user, bool neworder) + CmdResult Handle (const char** parameters, int pcnt, User *user, bool neworder) { const char* channame; const char* username; - userrec* target; - chanrec* channel; + User* target; + Channel* channel; ModeLevel tlevel; ModeLevel ulevel; std::string reason; @@ -213,7 +213,7 @@ class cmd_remove : public Command, public RemoveBase TRANSLATE4(TR_NICK, TR_TEXT, TR_TEXT, TR_END); } - CmdResult Handle (const char** parameters, int pcnt, userrec *user) + CmdResult Handle (const char** parameters, int pcnt, User *user) { return RemoveBase::Handle(parameters, pcnt, user, false); } @@ -230,7 +230,7 @@ class cmd_fpart : public Command, public RemoveBase syntax = " []"; } - CmdResult Handle (const char** parameters, int pcnt, userrec *user) + CmdResult Handle (const char** parameters, int pcnt, User *user) { return RemoveBase::Handle(parameters, pcnt, user, true); } @@ -264,7 +264,7 @@ class ModuleRemove : public Module output.append(" REMOVE"); } - virtual void OnRehash(userrec* user, const std::string&) + virtual void OnRehash(User* user, const std::string&) { ConfigReader conf(ServerInstance); supportnokicks = conf.ReadFlag("remove", "supportnokicks", 0); -- cgit v1.2.3