summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-07 22:22:43 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-07 22:22:43 +0000
commit0772585d9fc8c4c95ec88709974875d981987d7d (patch)
treef1817b2dee43e4362acd3f168766c7d1e8b36c8d /src/modules
parentd46b8db930e1cd71751b76f9dd0451fddfda6c6d (diff)
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')
-rw-r--r--src/modules/m_sethost.cpp2
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]));
}