diff options
Diffstat (limited to 'src/messages.c')
-rw-r--r-- | src/messages.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages.c b/src/messages.c index 44447ff87..f0df5fb6c 100644 --- a/src/messages.c +++ b/src/messages.c @@ -174,7 +174,7 @@ int m_privmsg(const char *source, const char *receiver, const char *msg) { notice_lang(Config.s_OperServ, u, ACCESS_DENIED); if (Config.WallBadOS) - ircdproto->SendGlobops(findbot(Config.s_OperServ), "Denied access to %s from %s!%s@%s (non-oper)", Config.s_OperServ, u->nick, u->GetIdent().c_str(), u->host); + ircdproto->SendGlobops(findbot(Config.s_OperServ), "Denied access to %s from %s!%s@%s (non-oper)", Config.s_OperServ, u->nick.c_str(), u->GetIdent().c_str(), u->host); } else operserv(u, const_cast<char *>(msg)); // XXX Unsafe cast, this needs reviewing -- CyberBotX |