summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 19:41:34 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 19:41:34 +0000
commitc3964f7483b522f4b0b05d4275cbd72d638d489e (patch)
tree54ba65ccb8138624d894d6cce092175888f481b6 /src/core
parent036c287376995bcf4e35f89fdf0e2036ba99b6dd (diff)
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
Diffstat (limited to 'src/core')
-rw-r--r--src/core/cs_topic.c2
-rw-r--r--src/core/os_set.c6
2 files changed, 4 insertions, 4 deletions
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);