summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-05 20:39:40 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-05 20:39:40 +0000
commit1cae57dbf31474aa4a4b5706c1b90f29577dc7e6 (patch)
tree8f021292fabefe2b40a7427e1816ad4ee3a81965
parent7ee0ade96ae27d3605d1ae4d9fa6b39a309f1c9b (diff)
Don't propegate SETHOST, ChangeDisplayedHost sends out hostchange anyway
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9648 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_sethost.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp
index cdcbbde9e..e781a79aa 100644
--- a/src/modules/m_sethost.cpp
+++ b/src/modules/m_sethost.cpp
@@ -50,10 +50,11 @@ class CommandSethost : public Command
user->WriteServ("NOTICE %s :*** SETHOST: Host too long",user->nick);
return CMD_FAILURE;
}
+
if (user->ChangeDisplayedHost(parameters[0].c_str()))
{
ServerInstance->SNO->WriteToSnoMask('A', std::string(user->nick)+" used SETHOST to change their displayed host to "+user->dhost);
- return CMD_SUCCESS;
+ return CMD_LOCALONLY;
}
return CMD_FAILURE;