diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:12 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:12 +0000 |
commit | 8060c79a5f13dae4607475d159319afe5e241dcc (patch) | |
tree | 1fb23227a9c962ea178e472eb24aa973e41abda6 /src/protocol/bahamut.c | |
parent | b1b5df38eb70068c3dea2dad90285d54b6365e4b (diff) |
Added cmd_squit() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1244 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/bahamut.c')
-rw-r--r-- | src/protocol/bahamut.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c index 49874f730..bd3184c23 100644 --- a/src/protocol/bahamut.c +++ b/src/protocol/bahamut.c @@ -807,17 +807,6 @@ void BahamutIRCdProto::cmd_svsmode(User *u, int ac, const char **av) send_cmd(ServerName, "SVSMODE %s %ld %s", u->nick, static_cast<long>(u->timestamp), merge_args(ac, av)); } -/* SQUIT */ -/* - * parv[0] = sender prefix - * parv[1] = server name - * parv[2] = comment -*/ -void bahamut_cmd_squit(const char *servname, const char *message) -{ - send_cmd(NULL, "SQUIT %s :%s", servname, message); -} - /* * SVINFO * parv[0] = sender prefix @@ -1378,7 +1367,7 @@ void bahamut_cmd_jupe(const char *jserver, const char *who, const char *reason) reason ? ": " : "", reason ? reason : ""); if (findserver(servlist, jserver)) - bahamut_cmd_squit(jserver, rbuf); + ircd_proto.cmd_squit(jserver, rbuf); bahamut_cmd_server(jserver, 2, rbuf); new_server(me_server, jserver, rbuf, SERVER_JUPED, NULL); } @@ -1448,7 +1437,6 @@ void moduleAddAnopeCmds() pmodule_cmd_242(bahamut_cmd_242); pmodule_cmd_243(bahamut_cmd_243); pmodule_cmd_211(bahamut_cmd_211); - pmodule_cmd_squit(bahamut_cmd_squit); pmodule_cmd_svso(bahamut_cmd_svso); pmodule_cmd_chg_nick(bahamut_cmd_chg_nick); pmodule_cmd_svsnick(bahamut_cmd_svsnick); |