mirror of
https://github.com/anope/anope.git
synced 2026-07-02 11:06:37 +02:00
All cs_* core modules build successfully.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1387 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+4
-4
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user