mirror of
https://github.com/anope/anope.git
synced 2026-07-04 12:53:14 +02:00
Convert various to new name scheme.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1306 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -147,14 +147,14 @@ int my_cs_appendtopic(User * u)
|
||||
s_ChanServ, u->nick, u->username, u->host, c->name);
|
||||
if (ircd->join2set) {
|
||||
if (whosends(ci) == s_ChanServ) {
|
||||
anope_cmd_join(s_ChanServ, c->name, c->creation_time);
|
||||
anope_SendJoin(s_ChanServ, c->name, c->creation_time);
|
||||
anope_SendMode(NULL, c->name, "+o %s", s_ChanServ);
|
||||
}
|
||||
}
|
||||
anope_cmd_topic(whosends(ci), c->name, u->nick, topic, c->topic_time);
|
||||
if (ircd->join2set) {
|
||||
if (whosends(ci) == s_ChanServ) {
|
||||
anope_cmd_part(s_ChanServ, c->name, NULL);
|
||||
anope_SendPart(s_ChanServ, c->name, NULL);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -419,7 +419,7 @@ int mSaveData(int argc, char **argv)
|
||||
if (!stricmp(argv[0], EVENT_START)) {
|
||||
if ((out = fopen(OSInfoDBName, "w")) == NULL) {
|
||||
alog("os_info: ERROR: can not open the database file!");
|
||||
anope_cmd_global(s_OperServ,
|
||||
anope_SendGlobops(s_OperServ,
|
||||
"os_info: ERROR: can not open the database file!");
|
||||
ret = 1;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user