X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fhelperfuncs.cpp;h=8b93be24500e9cb681aaf8d8a7155f2459f088ee;hb=813bc55a8496875cef52e6da42d608e4d2fa35da;hp=0edb09084a07bc19119cfa7ab5152a6acef4f827;hpb=1c0efd2f569ebcb725d361d3b9a8e31532f7a071;p=user%2Fhenk%2Fcode%2Finspircd.git 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 {