From f3f1b97a1ab782a3419fe20ae06d3e3535a4ddae Mon Sep 17 00:00:00 2001 From: "Naram Qashat cyberbotx@cyberbotx.com" Date: Thu, 2 Oct 2008 20:35:07 +0000 Subject: Replaced anope_SendPart() with direct call to SendPart() in IRCDProto class. Added SendPartInternal() function to IRCDProto class, now SendPart() is a stub to handle varargs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1346 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/cs_topic.c | 2 +- src/core/os_set.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core') diff --git a/src/core/cs_topic.c b/src/core/cs_topic.c index 6a89945bb..c65602fa9 100644 --- a/src/core/cs_topic.c +++ b/src/core/cs_topic.c @@ -111,7 +111,7 @@ int do_cs_topic(User * u) c->topic_time); if (ircd->join2set) { if (whosends(ci) == s_ChanServ) { - anope_SendPart(s_ChanServ, c->name, NULL); + ircdproto->SendPart(s_ChanServ, c->name, NULL); } } } diff --git a/src/core/os_set.c b/src/core/os_set.c index 9b9001d83..28d66fe5c 100644 --- a/src/core/os_set.c +++ b/src/core/os_set.c @@ -195,7 +195,7 @@ int do_set(User * u) } else if (LogChannel && (stricmp(setting, "off") == 0)) { alog("No longer sending log messages to a channel"); if (ircd->join2msg) { - anope_SendPart(s_GlobalNoticer, LogChannel, NULL); + ircdproto->SendPart(s_GlobalNoticer, LogChannel, NULL); } logchan = 0; notice_lang(s_OperServ, u, OPER_SET_LOGCHAN_OFF); -- cgit