diff options
-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])); } } |