From abe0f102d7899780200b3d86557316ef71b57dab Mon Sep 17 00:00:00 2001 From: danieldg Date: Sun, 14 Jun 2009 05:07:02 +0000 Subject: Don't globally route SETNAME, the FNAME is sufficient. Fixes bug #875 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11409 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_setname.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/modules/m_setname.cpp') diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp index 846edf0fe..b70939ca2 100644 --- a/src/modules/m_setname.cpp +++ b/src/modules/m_setname.cpp @@ -47,7 +47,7 @@ class CommandSetname : public Command return CMD_SUCCESS; } - return CMD_SUCCESS; + return CMD_LOCALONLY; } }; @@ -71,9 +71,8 @@ class ModuleSetName : public Module virtual Version GetVersion() { - return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION); + return Version("$Id$", VF_VENDOR, API_VERSION); } - }; MODULE_INIT(ModuleSetName) -- cgit v1.2.3