diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-05 20:39:40 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-05 20:39:40 +0000 |
commit | 1cae57dbf31474aa4a4b5706c1b90f29577dc7e6 (patch) | |
tree | 8f021292fabefe2b40a7427e1816ad4ee3a81965 /src | |
parent | 7ee0ade96ae27d3605d1ae4d9fa6b39a309f1c9b (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
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_sethost.cpp | 3 |
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; |