]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_alltime.cpp
Next part of Development/Hooking (see wiki)
[user/henk/code/inspircd.git] / src / modules / m_alltime.cpp
index 1b48c237f9c36bae06a090f613caa59ffddeb6c8..48b54137e62f6ce3521ce513dad02d673f8052dd 100644 (file)
 
 /* $ModDesc: Display timestamps from all servers connected to the network */
 
-class cmd_alltime : public Command
+class CommandAlltime : public Command
 {
  public:
-       cmd_alltime(InspIRCd *Instance) : Command(Instance, "ALLTIME", 'o', 0)
+       CommandAlltime(InspIRCd *Instance) : Command(Instance, "ALLTIME", 'o', 0)
        {
                this->source = "m_alltime.so";
                syntax.clear();
@@ -60,12 +60,12 @@ class cmd_alltime : public Command
 
 class Modulealltime : public Module
 {
-       cmd_alltime *mycommand;
+       CommandAlltime *mycommand;
  public:
        Modulealltime(InspIRCd *Me)
                : Module(Me)
        {
-               mycommand = new cmd_alltime(ServerInstance);
+               mycommand = new CommandAlltime(ServerInstance);
                ServerInstance->AddCommand(mycommand);
        }