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/unreal32.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/unreal32.c')
| -rw-r--r-- | src/protocol/unreal32.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c index 8ef1a1efb..1b11d1df3 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -443,7 +443,7 @@ void UnrealIRCdProto::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; @@ -630,7 +630,7 @@ void UnrealIRCdProto::cmd_server(const char *servname, int hop, const char *desc } /* JOIN */ -void UnrealIRCdProto::cmd_join(const char *user, const char *channel, time_t chantime) +void UnrealIRCdProto::SendJoin(const char *user, const char *channel, time_t chantime) { send_cmd(ServerName, "%s !%s %s :%s", send_token("SJOIN", "~"), base64enc(static_cast<long>(chantime)), channel, user); /* send_cmd(user, "%s %s", send_token("JOIN", "C"), channel); */ @@ -640,7 +640,7 @@ void UnrealIRCdProto::cmd_join(const char *user, const char *channel, time_t cha ** parv[0] = sender ** parv[1] = nickmask */ -void UnrealIRCdProto::cmd_unsqline(const char *user) +void UnrealIRCdProto::SendSQLineDel(const char *user) { if (!user) return; send_cmd(NULL, "%s %s", send_token("UNSQLINE", "d"), user); @@ -726,7 +726,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; } |
