From 809ed7c2c04f2c004be3f8f7d29ff3b4f0e3e0f7 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Thu, 2 Oct 2008 08:39:28 +0000 Subject: Convert various to new name scheme. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1306 5417fbe8-f217-4b02-8779-1006273d7864 --- src/modules/cs_appendtopic.c | 4 ++-- src/modules/os_info.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules') diff --git a/src/modules/cs_appendtopic.c b/src/modules/cs_appendtopic.c index 50e8af1d3..665782c73 100644 --- a/src/modules/cs_appendtopic.c +++ b/src/modules/cs_appendtopic.c @@ -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); } } } diff --git a/src/modules/os_info.c b/src/modules/os_info.c index 251fb62d8..f77628978 100644 --- a/src/modules/os_info.c +++ b/src/modules/os_info.c @@ -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 { -- cgit