diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 23:39:33 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 23:39:33 +0000 |
commit | 858a204495dc5b36807008eae1be5cebf791e63b (patch) | |
tree | 6064e87756470f23ec56e6ed9acf84a4c45fd578 /src/core/cs_topic.c | |
parent | a55cb11daa9851cc0ca9a49b1ead8ad175a022ed (diff) |
All cs_* core modules build successfully.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1387 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_topic.c')
-rw-r--r-- | src/core/cs_topic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/cs_topic.c b/src/core/cs_topic.c index c65602fa9..b6bc95dde 100644 --- a/src/core/cs_topic.c +++ b/src/core/cs_topic.c @@ -102,16 +102,16 @@ int do_cs_topic(User * u) alog("%s: %s!%s@%s changed topic of %s as services admin.", s_ChanServ, u->nick, u->username, u->host, c->name); if (ircd->join2set) { - if (whosends(ci) == s_ChanServ) { - ircdproto->SendJoin(s_ChanServ, c->name, c->creation_time); + if (whosends(ci) == findbot(s_ChanServ)) { + ircdproto->SendJoin(findbot(s_ChanServ), c->name, c->creation_time); ircdproto->SendMode(NULL, c->name, "+o %s", s_ChanServ); } } ircdproto->SendTopic(whosends(ci), c->name, u->nick, topic ? topic : "", c->topic_time); if (ircd->join2set) { - if (whosends(ci) == s_ChanServ) { - ircdproto->SendPart(s_ChanServ, c->name, NULL); + if (whosends(ci) == findbot(s_ChanServ)) { + ircdproto->SendPart(findbot(s_ChanServ), c->name, NULL); } } } |