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_oper_hash.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/m_oper_hash.cpp') diff --git a/src/modules/m_oper_hash.cpp b/src/modules/m_oper_hash.cpp index cc2afbe54..fd7e683de 100644 --- a/src/modules/m_oper_hash.cpp +++ b/src/modules/m_oper_hash.cpp @@ -21,13 +21,13 @@ typedef std::map hashymodules; /* Handle /MKPASSWD */ -class cmd_mkpasswd : public Command +class CommandMkpasswd : public Command { Module* Sender; hashymodules &hashers; std::deque &names; public: - cmd_mkpasswd (InspIRCd* Instance, Module* S, hashymodules &h, std::deque &n) + CommandMkpasswd (InspIRCd* Instance, Module* S, hashymodules &h, std::deque &n) : Command(Instance,"MKPASSWD", 'o', 2), Sender(S), hashers(h), names(n) { this->source = "m_oper_hash.so"; @@ -66,7 +66,7 @@ class cmd_mkpasswd : public Command class ModuleOperHash : public Module { - cmd_mkpasswd* mycommand; + CommandMkpasswd* mycommand; ConfigReader* Conf; hashymodules hashers; /* List of modules which implement HashRequest */ std::deque names; /* Module names which implement HashRequest */ @@ -106,7 +106,7 @@ class ModuleOperHash : public Module throw ModuleException("I can't find any modules loaded which implement the HashRequest interface! You probably forgot to load a hashing module such as m_md5.so or m_sha256.so."); } - mycommand = new cmd_mkpasswd(ServerInstance, this, hashers, names); + mycommand = new CommandMkpasswd(ServerInstance, this, hashers, names); ServerInstance->AddCommand(mycommand); } -- cgit v1.3.1-10-gc9f91