From c3964f7483b522f4b0b05d4275cbd72d638d489e Mon Sep 17 00:00:00 2001 From: "Naram Qashat cyberbotx@cyberbotx.com" Date: Thu, 2 Oct 2008 19:41:34 +0000 Subject: Replaced anope_SendJoin() with direct call to SendJoin() in IRCDProto class. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1343 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/cs_topic.c | 2 +- src/core/os_set.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core') diff --git a/src/core/cs_topic.c b/src/core/cs_topic.c index c352f52d9..6a89945bb 100644 --- a/src/core/cs_topic.c +++ b/src/core/cs_topic.c @@ -103,7 +103,7 @@ int do_cs_topic(User * u) s_ChanServ, u->nick, u->username, u->host, c->name); if (ircd->join2set) { if (whosends(ci) == s_ChanServ) { - anope_SendJoin(s_ChanServ, c->name, c->creation_time); + ircdproto->SendJoin(s_ChanServ, c->name, c->creation_time); ircdproto->SendMode(NULL, c->name, "+o %s", s_ChanServ); } } diff --git a/src/core/os_set.c b/src/core/os_set.c index 5e3b8793c..9b9001d83 100644 --- a/src/core/os_set.c +++ b/src/core/os_set.c @@ -6,8 +6,8 @@ * Please read COPYING and README for further details. * * Based on the original code of Epona by Lara. - * Based on the original code of Services by Andy Church. - * + * Based on the original code of Services by Andy Church. + * * $Id$ * */ @@ -187,7 +187,7 @@ int do_set(User * u) if (LogChannel && (stricmp(setting, "on") == 0)) { if (ircd->join2msg) { c = findchan(LogChannel); - anope_SendJoin(s_GlobalNoticer, LogChannel, c ? c->creation_time : time(NULL)); + ircdproto->SendJoin(s_GlobalNoticer, LogChannel, c ? c->creation_time : time(NULL)); } logchan = 1; alog("Now sending log messages to %s", LogChannel); -- cgit