summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/cs_topic.c2
-rw-r--r--src/core/os_set.c2
2 files changed, 2 insertions, 2 deletions
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);