]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chgname.cpp
Remove/Add cmode h according to <option:allowhalfop>. Fixes bug #715 reported by...
[user/henk/code/inspircd.git] / src / modules / m_chgname.cpp
index 37c7e9ff8d306525e4c906217849dc46d7f519ee..c05499039a90385560aedffac4fa3242524b3bea 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
  * See: http://www.inspircd.org/wiki/index.php/Credits
  *
  * This program is free but copyrighted software; see
@@ -20,7 +20,7 @@
 class CommandChgname : public Command
 {
  public:
-       CommandChgname (InspIRCd* Instance) : Command(Instance,"CHGNAME", "o", 2)
+       CommandChgname (InspIRCd* Instance) : Command(Instance,"CHGNAME", "o", 2, 2)
        {
                this->source = "m_chgname.so";
                syntax = "<nick> <newname>";