diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-12-16 02:25:38 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-12-16 02:25:38 +0000 |
commit | c6e3324b302aa9ef4cf6bdf002719d8bf2908a0b (patch) | |
tree | aabd05d10c6252151fb452b0db428dd985d5a884 /src/messages.c | |
parent | 98aa38d800a85e4cd295f435424524bbf2f0a3b1 (diff) |
Made many of the functions in IRCDProto accept the relative object pointers instea of char* everywhere, and updated TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2706 5417fbe8-f217-4b02-8779-1006273d7864
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 2e00a03f0..44447ff87 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(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, u->GetIdent().c_str(), u->host); } else operserv(u, const_cast<char *>(msg)); // XXX Unsafe cast, this needs reviewing -- CyberBotX |