diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-12 13:00:15 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-12 13:00:15 +0000 |
commit | 5de432e994a422189dd0d2b9a35b37383d8f853a (patch) | |
tree | f7cf7c95d6efced8d7bc42e973d5f7fee3936d24 /src/modules | |
parent | 3103cfb80135cbc2a0f47566ec0cb88affc7bac1 (diff) |
chghost fixes (changed the host of the user doing the command!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@564 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_chghost.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp index 2d98884cf..c70c56967 100644 --- a/src/modules/m_chghost.cpp +++ b/src/modules/m_chghost.cpp @@ -33,7 +33,7 @@ void handle_chghost(char **parameters, int pcnt, userrec *user) } userrec* dest = Srv->FindNick(std::string(parameters[0])); if (dest) { - Srv->ChangeHost(user,parameters[1]); + Srv->ChangeHost(dest,parameters[1]); Srv->SendOpers(std::string(user->nick)+" used CHGHOST to make the displayed host of "+std::string(dest->nick)+" become "+std::string(parameters[1])); } } |