]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_taxonomy.cpp
This will royally fuck 1.2's linking right now, but..
[user/henk/code/inspircd.git] / src / modules / m_taxonomy.cpp
index 7b3e57aaeb62366657a475795ff8dd1629d9bd31..c9621d431f1009d2d3f055d1a698b5889f7d9ca6 100644 (file)
@@ -18,7 +18,7 @@
 
 /* $ModDesc: Provides the /TAXONOMY command, used to view all metadata attached to a user */
 
-/** Handle /WOOT
+/** Handle /TAXONOMY
  */
 class cmd_taxonomy : public command_t
 {
@@ -29,6 +29,7 @@ class cmd_taxonomy : public command_t
        cmd_taxonomy (InspIRCd* Instance, Module* maker, bool &claim) : command_t(Instance,"TAXONOMY", 'o', 1), Creator(maker), claimed(claim)
        {
                this->source = "m_taxonomy.so";
+               syntax = "<nickname>";
        }
 
        CmdResult Handle (const char** parameters, int pcnt, userrec *user)
@@ -51,7 +52,7 @@ class cmd_taxonomy : public command_t
                        }
                        user->WriteServ("304 " + std::string(user->nick) + ":TAXONOMY END");
                }
-               return CMD_FAILURE;
+               return CMD_LOCALONLY;
        }
 };
 
@@ -95,5 +96,4 @@ class ModuleTaxonomy : public Module
        }
 };
 
-MODULE_INIT(ModuleTaxonomy);
-
+MODULE_INIT(ModuleTaxonomy)