From b669f920eaa9fb795d0a103d724943898a0df4b2 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 21 Oct 2007 21:43:48 +0000 Subject: Another big commit, just to please all my fans out there.. cmd_* -> Command*. Muahaha. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8290 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_lockserv.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/modules/m_lockserv.cpp') diff --git a/src/modules/m_lockserv.cpp b/src/modules/m_lockserv.cpp index f14e437ee..d2bfff6a5 100644 --- a/src/modules/m_lockserv.cpp +++ b/src/modules/m_lockserv.cpp @@ -21,13 +21,13 @@ */ -class cmd_lockserv : public Command +class CommandLockserv : public Command { private: bool& locked; public: - cmd_lockserv (InspIRCd* Instance, bool &lock) + CommandLockserv (InspIRCd* Instance, bool &lock) : Command(Instance, "LOCKSERV", 'o', 0), locked(lock) { this->source = "m_lockserv.so"; @@ -44,13 +44,13 @@ public: } }; -class cmd_unlockserv : public Command +class CommandUnlockserv : public Command { private: bool& locked; public: - cmd_unlockserv (InspIRCd* Instance, bool &lock) + CommandUnlockserv (InspIRCd* Instance, bool &lock) : Command(Instance, "UNLOCKSERV", 'o', 0), locked(lock) { this->source = "m_lockserv.so"; @@ -71,8 +71,8 @@ class ModuleLockserv : public Module { private: bool locked; - cmd_lockserv* lockcommand; - cmd_unlockserv* unlockcommand; + CommandLockserv* lockcommand; + CommandUnlockserv* unlockcommand; virtual void ResetLocked() { @@ -83,10 +83,10 @@ public: ModuleLockserv(InspIRCd* Me) : Module(Me) { ResetLocked(); - lockcommand = new cmd_lockserv(ServerInstance, locked); + lockcommand = new CommandLockserv(ServerInstance, locked); ServerInstance->AddCommand(lockcommand); - unlockcommand = new cmd_unlockserv(ServerInstance, locked); + unlockcommand = new CommandUnlockserv(ServerInstance, locked); ServerInstance->AddCommand(unlockcommand); } -- cgit v1.2.3