diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 08:39:28 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 08:39:28 +0000 |
| commit | 809ed7c2c04f2c004be3f8f7d29ff3b4f0e3e0f7 (patch) | |
| tree | 867a1c3ddb9ab32dde2449b1632d2f4f772c6285 /src/protocol/bahamut.c | |
| parent | bd56c0fb93b06c1d5f58f83089f12eda5c9e82d9 (diff) | |
Convert various to new name scheme.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1306 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/bahamut.c')
| -rw-r--r-- | src/protocol/bahamut.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c index f6bae5782..e867af711 100644 --- a/src/protocol/bahamut.c +++ b/src/protocol/bahamut.c @@ -185,7 +185,7 @@ void BahamutIRCdProto::set_umode(User *user, int ac, const char **av) case 'o': if (add) { ++opcnt; - if (WallOper) anope_cmd_global(s_OperServ, "\2%s\2 is now an IRC operator.", user->nick); + if (WallOper) anope_SendGlobops(s_OperServ, "\2%s\2 is now an IRC operator.", user->nick); display_news(user, NEWS_OPER); } else --opcnt; @@ -723,13 +723,13 @@ void BahamutIRCdProto::cmd_topic(const char *whosets, const char *chan, const ch } /* UNSQLINE */ -void BahamutIRCdProto::cmd_unsqline(const char *user) +void BahamutIRCdProto::SendSQLineDel(const char *user) { send_cmd(NULL, "UNSQLINE %s", user); } /* JOIN - SJOIN */ -void BahamutIRCdProto::cmd_join(const char *user, const char *channel, time_t chantime) +void BahamutIRCdProto::SendJoin(const char *user, const char *channel, time_t chantime) { send_cmd(user, "SJOIN %ld %s", static_cast<long>(chantime), channel); } @@ -982,7 +982,7 @@ int anope_event_ping(const char *source, int ac, const char **av) { if (ac < 1) return MOD_CONT; - ircd_proto.cmd_pong(ac > 1 ? av[1] : ServerName, av[0]); + ircd_proto.SendPong(ac > 1 ? av[1] : ServerName, av[0]); return MOD_CONT; } |
