summaryrefslogtreecommitdiff
path: root/src/core/cs_topic.c
diff options
context:
space:
mode:
authorjantje_85 <jantje_85@5417fbe8-f217-4b02-8779-1006273d7864>2009-09-09 22:23:09 +0000
committerjantje_85 <jantje_85@5417fbe8-f217-4b02-8779-1006273d7864>2009-09-09 22:23:09 +0000
commit0b82d74262490887c83733544db5c250ea757d05 (patch)
treeb2cc28c65d7e6b2ea3af0b28cb1ecec639bbb1cc /src/core/cs_topic.c
parent5cb5dc197a6e6b63b6521f8c88354acd6318a552 (diff)
Fixed a number of TS6 issues, mainly related to nicks instead of IDs being given to anope_cmd_mode() in combination with a status change (Bug #1096). Also Fixed a small bug in os_oline.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2495 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_topic.c')
-rw-r--r--src/core/cs_topic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_topic.c b/src/core/cs_topic.c
index a1538e1c6..003bd2c95 100644
--- a/src/core/cs_topic.c
+++ b/src/core/cs_topic.c
@@ -104,7 +104,7 @@ int do_cs_topic(User * u)
if (ircd->join2set) {
if (whosends(ci) == s_ChanServ) {
anope_cmd_join(s_ChanServ, c->name, c->creation_time);
- anope_cmd_mode(NULL, c->name, "+o %s", s_ChanServ);
+ anope_cmd_mode(NULL, c->name, "+o %s", GET_BOT(s_ChanServ));
}
}
anope_cmd_topic(whosends(ci), c->name, u->nick, topic ? topic : "",