summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-09-30 17:31:39 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-09-30 17:31:39 +0000
commita27e9d92fa18e216cdea71934c20b11eac0737cd (patch)
treecb451b399843236550501fb01fb0519be0e14212 /src/modules
parenta72cf670acd64f39fca207c232920bcb42c1b919 (diff)
parameters[0] -> parameter.c_str()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8099 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_helpop.cpp2
1 files changed, 1 insertions, 1 deletions
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<irc::string, std::string>::iterator iter = helpop_map.find(parameter);