summaryrefslogtreecommitdiff
path: root/src/chanserv.c
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 17:46:06 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 17:46:06 +0000
commit95f24091f65943c69617bc462ee2175b8cfe257f (patch)
treea9fc9db04aeadab4415dd7b157154d84b9a29c8b /src/chanserv.c
parentab07a491a49df5178fb6de1a1d7b3cf1dec8dfc4 (diff)
Replaced anope_cmd_topic() with direct call to SendTopic() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1323 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/chanserv.c')
-rw-r--r--src/chanserv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chanserv.c b/src/chanserv.c
index b325bf6a6..1c86a73e1 100644
--- a/src/chanserv.c
+++ b/src/chanserv.c
@@ -1452,7 +1452,7 @@ void restore_topic(const char *chan)
anope_SendMode(NULL, chan, "+o %s", s_ChanServ);
}
}
- anope_cmd_topic(whosends(ci)->nick, c->name, c->topic_setter,
+ ircdproto->SendTopic(whosends(ci)->nick, c->name, c->topic_setter,
c->topic ? c->topic : "", c->topic_time);
if (ircd->join2set) {
if (whosends(ci) == s_ChanServ) {
@@ -1515,7 +1515,7 @@ int check_topiclock(Channel * c, time_t topic_time)
}
}
- anope_cmd_topic(whosends(ci)->nick, c->name, c->topic_setter,
+ ircdproto->SendTopic(whosends(ci)->nick, c->name, c->topic_setter,
c->topic ? c->topic : "", c->topic_time);
if (ircd->join2set) {