]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_customtitle.cpp
Another big commit, just to please all my fans out there.. cmd_* -> Command*. Muahaha.
[user/henk/code/inspircd.git] / src / modules / m_customtitle.cpp
index bd165034f589c38be83d4dd09a44b7955f6d64fc..da28ea8af0bcc463bc558833752b49ea6e1181a2 100644 (file)
 
 /** Handle /TITLE
  */
-class cmd_title : public Command
+class CommandTitle : public Command
 {
        
  public:
-       cmd_title (InspIRCd* Instance) : Command(Instance,"TITLE",0,2)
+       CommandTitle (InspIRCd* Instance) : Command(Instance,"TITLE",0,2)
        {
                this->source = "m_customtitle.so";
                syntax = "<user> <password>";
@@ -110,13 +110,13 @@ bool OneOfMatches(const char* host, const char* ip, const char* hostlist)
 
 class ModuleCustomTitle : public Module
 {
-       cmd_title* mycommand;
+       CommandTitle* mycommand;
        
  public:
        ModuleCustomTitle(InspIRCd* Me) : Module(Me)
        {
                
-               mycommand = new cmd_title(ServerInstance);
+               mycommand = new CommandTitle(ServerInstance);
                ServerInstance->AddCommand(mycommand);
        }