]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sethost.cpp
Broken code commented out by brain until we can fix it.
[user/henk/code/inspircd.git] / src / modules / m_sethost.cpp
index a508a9cb48a31bb96f6a527c673e85fbe57582ec..f6a9bbf3f190340f87a87f62585b95024cfff021 100644 (file)
@@ -32,7 +32,7 @@ void handle_sethost(char **parameters, int pcnt, userrec *user)
                        }
                }
        }
-       strncpy(user->dhost,parameters[0],127);
+       Srv->ChangeHost(user,parameters[0]);
        Srv->SendOpers(std::string(user->nick)+" used SETHOST to change their displayed host to "+std::string(parameters[0]));
 }