diff options
| author | 2004-04-07 22:22:43 +0000 | |
|---|---|---|
| committer | 2004-04-07 22:22:43 +0000 | |
| commit | 0772585d9fc8c4c95ec88709974875d981987d7d (patch) | |
| tree | f1817b2dee43e4362acd3f168766c7d1e8b36c8d /src/modules/m_sethost.cpp | |
| parent | Added a sanity check on the hostnames being set before actually setting them (diff) | |
| download | inspircd++-0772585d9fc8c4c95ec88709974875d981987d7d.tar.gz inspircd++-0772585d9fc8c4c95ec88709974875d981987d7d.tar.bz2 inspircd++-0772585d9fc8c4c95ec88709974875d981987d7d.zip | |
Fixed typo/crash in m_sethost discovered by Hart and Mike
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@434 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 d1aabd004..a508a9cb4 100644 --- a/src/modules/m_sethost.cpp +++ b/src/modules/m_sethost.cpp @@ -33,7 +33,7 @@ void handle_sethost(char **parameters, int pcnt, userrec *user) } } strncpy(user->dhost,parameters[0],127); - Srv->SendOpers(std::string(user->nick)+" used SETHOST to change their displayed host to "+std::string(parameters[1])); + Srv->SendOpers(std::string(user->nick)+" used SETHOST to change their displayed host to "+std::string(parameters[0])); } |
