summaryrefslogtreecommitdiff
path: root/src/modules/m_helpop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_helpop.cpp')
-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);