]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chgname.cpp
cgiirc: Pass hosts to WEBIRC command on rehash. No fucking wonder this never worked...
[user/henk/code/inspircd.git] / src / modules / m_chgname.cpp
index 3111da9cfc6ec111f3f7ff002cbd8605d1dc01f3..29fc695abccbf04af1c3829b77243be2aec7f79d 100644 (file)
@@ -52,8 +52,7 @@ class CommandChgname : public Command
                if (IS_LOCAL(dest))
                {
                        dest->ChangeName(parameters[1].c_str());
-                       ServerInstance->SNO->WriteToSnoMask('A', "%s used CHGNAME to change %s's real name to '%s'", user->nick.c_str(), dest->nick.c_str(), dest->fullname.c_str());
-                       return CMD_LOCALONLY; /* name change routed by FNAME in spanningtree now */
+                       ServerInstance->SNO->WriteGlobalSno('a', "%s used CHGNAME to change %s's real name to '%s'", user->nick.c_str(), dest->nick.c_str(), dest->fullname.c_str());
                }
 
                /* route it! */