diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
commit | 3d4bf6d876f2ad537506cc2e3d0ef5d7051762e6 (patch) | |
tree | 2de775b292544e414a104a7992a659ebe7bdb579 /src/protocol/bahamut.c | |
parent | b18604c31c0c5a4f3a4d08d8338985a0d311fa0a (diff) |
Added cmd_svskill() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1213 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/bahamut.c')
-rw-r--r-- | src/protocol/bahamut.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c index e30e5101d..5987cd9f0 100644 --- a/src/protocol/bahamut.c +++ b/src/protocol/bahamut.c @@ -815,14 +815,10 @@ void BahamutIRCdProto::cmd_akill(const char *user, const char *host, const char /* Note: if the stamp is null 0, the below usage is correct of Bahamut */ -void bahamut_cmd_svskill(const char *source, const char *user, const char *buf) +void BahamutIRCdProto::cmd_svskill(const char *source, const char *user, const char *buf) { - - if (!source || !user || !buf) { - return; - } - - send_cmd(source, "SVSKILL %s :%s", user, buf); + if (!source || !user || !buf) return; + send_cmd(source, "SVSKILL %s :%s", user, buf); } /* SVSMODE */ @@ -1548,7 +1544,6 @@ void bahamut_cmd_chghost(const char *nick, const char *vhost) **/ void moduleAddAnopeCmds() { - pmodule_cmd_svskill(bahamut_cmd_svskill); pmodule_cmd_svsmode(bahamut_cmd_svsmode); pmodule_cmd_372(bahamut_cmd_372); pmodule_cmd_372_error(bahamut_cmd_372_error); |