From 0772585d9fc8c4c95ec88709974875d981987d7d Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 7 Apr 2004 22:22:43 +0000 Subject: 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 --- src/modules/m_sethost.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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])); } -- cgit v1.2.3