summaryrefslogtreecommitdiff
path: root/src/modules/cs_appendtopic.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/modules/cs_appendtopic.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/modules/cs_appendtopic.c')
-rw-r--r--src/modules/cs_appendtopic.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/cs_appendtopic.c b/src/modules/cs_appendtopic.c
index 665782c73..08a6e19f2 100644
--- a/src/modules/cs_appendtopic.c
+++ b/src/modules/cs_appendtopic.c
@@ -26,15 +26,15 @@
* Author: SGR <Alex_SGR@ntlworld.com>
* Date: 31/08/2003
* ------------------------------------------------------------
- *
+ *
* This module has no configurable options. For information on
* this module, load it and refer to /ChanServ APPENDTOPIC HELP
- *
- * Thanks to dengel, Rob and Certus for all there support.
- * Especially Rob, who always manages to show me where I have
+ *
+ * Thanks to dengel, Rob and Certus for all there support.
+ * Especially Rob, who always manages to show me where I have
* not allocated any memory. Even if it takes a few weeks of
* pestering to get him to look at it.
- *
+ *
* ------------------------------------------------------------
*/
@@ -151,7 +151,7 @@ int my_cs_appendtopic(User * u)
anope_SendMode(NULL, c->name, "+o %s", s_ChanServ);
}
}
- anope_cmd_topic(whosends(ci), c->name, u->nick, topic, c->topic_time);
+ ircdproto->SendTopic(whosends(ci), c->name, u->nick, topic, c->topic_time);
if (ircd->join2set) {
if (whosends(ci) == s_ChanServ) {
anope_SendPart(s_ChanServ, c->name, NULL);