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/inspircd11.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/inspircd11.c')
| -rw-r--r-- | src/protocol/inspircd11.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/protocol/inspircd11.c b/src/protocol/inspircd11.c index a3569b2e4..b21d8f365 100644 --- a/src/protocol/inspircd11.c +++ b/src/protocol/inspircd11.c @@ -565,12 +565,10 @@ void InspIRCdProto::cmd_akill(const char *user, const char *host, const char *wh send_cmd(ServerName, "ADDLINE G %s@%s %s %ld %ld :%s", user, host, who, static_cast<long>(when), static_cast<long>(timeleft), reason); } -void inspircd_cmd_svskill(const char *source, const char *user, const char *buf) +void InspIRCdProto::cmd_svskill(const char *source, const char *user, const char *buf) { - if (!buf || !source || !user) - return; - - send_cmd(source, "KILL %s :%s", user, buf); + if (!buf || !source || !user) return; + send_cmd(source, "KILL %s :%s", user, buf); } void inspircd_cmd_svsmode(User * u, int ac, const char **av) @@ -1789,7 +1787,6 @@ void inspircd_cmd_ctcp(const char *source, const char *dest, const char *buf) **/ void moduleAddAnopeCmds() { - pmodule_cmd_svskill(inspircd_cmd_svskill); pmodule_cmd_svsmode(inspircd_cmd_svsmode); pmodule_cmd_372(inspircd_cmd_372); pmodule_cmd_372_error(inspircd_cmd_372_error); |
