summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 0edb09084..8b93be245 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -128,7 +128,7 @@ void InspIRCd::SendError(const std::string &s)
{
if ((*i)->registered == REG_ALL)
{
- (*i)->WriteServ("NOTICE %s :%s",(*i)->nick,s.c_str());
+ (*i)->WriteServ("NOTICE %s :%s",(*i)->nick.c_str(),s.c_str());
}
else
{