summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_operlog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_operlog.cpp b/src/modules/m_operlog.cpp
index a84629388..564ff1018 100644
--- a/src/modules/m_operlog.cpp
+++ b/src/modules/m_operlog.cpp
@@ -60,7 +60,7 @@ class ModuleOperLog : public Module
std::string plist = "";
for (int j = 0; j < pcnt; j++)
{
- plist.append(" "+parameters[j]);
+ plist.append(std::string(" ")+std::string(parameters[j]));
}
log(DEFAULT,"OPERLOG: [%s!%s@%s] %s%s",user->nick,user->ident,user->host,command.c_str(),plist.c_str());
}