From d9771fe0aa0d9270279c4f52f4231ece79adbe19 Mon Sep 17 00:00:00 2001 From: "Naram Qashat cyberbotx@cyberbotx.com" Date: Thu, 2 Oct 2008 19:14:00 +0000 Subject: Added SendAction() function to IRCDProto class to replace use of anope_cmd_notice(). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1337 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/bs_act.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/bs_act.c b/src/core/bs_act.c index 2cdf2e28b..4e0d3431a 100644 --- a/src/core/bs_act.c +++ b/src/core/bs_act.c @@ -82,7 +82,7 @@ int do_act(User * u) notice_lang(s_BotServ, u, ACCESS_DENIED); else { strnrepl(text, BUFSIZE, "\001", ""); - anope_cmd_action(ci->bi->nick, ci->name, "%s", text); + ircdproto->SendAction(ci->bi->nick, ci->name, "%s", text); ci->bi->lastmsg = time(NULL); if (LogBot && LogChannel && logchan && !debug && findchan(LogChannel)) ircdproto->SendPrivmsg(ci->bi->nick, LogChannel, "ACT %s %s %s", -- cgit