diff options
| author | 2004-04-12 12:55:06 +0000 | |
|---|---|---|
| committer | 2004-04-12 12:55:06 +0000 | |
| commit | 3103cfb80135cbc2a0f47566ec0cb88affc7bac1 (patch) | |
| tree | a45c2351da691d396ad9b8811483250c6610860a /src/modules/m_sethost.cpp | |
| parent | Added 'a' amd 'b' server link tokens (change gecos, change host) (diff) | |
Abstracted host/gecos changing to Server:: methods
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@563 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_sethost.cpp')
| -rw-r--r-- | src/modules/m_sethost.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp index a508a9cb4..f6a9bbf3f 100644 --- a/src/modules/m_sethost.cpp +++ b/src/modules/m_sethost.cpp @@ -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])); } |
