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 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/core
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/core')
-rw-r--r--src/core/cs_topic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/cs_topic.c b/src/core/cs_topic.c
index a8c9533a7..7d3ae40c1 100644
--- a/src/core/cs_topic.c
+++ b/src/core/cs_topic.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$
*
*/
@@ -107,7 +107,7 @@ int do_cs_topic(User * u)
anope_SendMode(NULL, c->name, "+o %s", s_ChanServ);
}
}
- anope_cmd_topic(whosends(ci), c->name, u->nick, topic ? topic : "",
+ ircdproto->SendTopic(whosends(ci), c->name, u->nick, topic ? topic : "",
c->topic_time);
if (ircd->join2set) {
if (whosends(ci) == s_ChanServ) {