diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-06-14 05:07:02 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-06-14 05:07:02 +0000 |
commit | abe0f102d7899780200b3d86557316ef71b57dab (patch) | |
tree | 243d2d06f9ff00853263269baab15f7a04d58db7 /src | |
parent | 2bb40c5b237e91ce8d3095aa81879b10cdca5bc8 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_setname.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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) |