From a27e9d92fa18e216cdea71934c20b11eac0737cd Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 30 Sep 2007 17:31:39 +0000 Subject: parameters[0] -> parameter.c_str() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8099 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_helpop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp index b0fdf55f4..b1028a042 100644 --- a/src/modules/m_helpop.cpp +++ b/src/modules/m_helpop.cpp @@ -76,7 +76,7 @@ class cmd_helpop : public command_t } else { - user->WriteServ("NOTICE %s :*** HELPOP for %s", user->nick, parameters[0]); + user->WriteServ("NOTICE %s :*** HELPOP for %s", user->nick, parameter.c_str()); std::map::iterator iter = helpop_map.find(parameter); -- cgit v1.2.3