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/unreal32.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/unreal32.c')
-rw-r--r-- | src/protocol/unreal32.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c index 5dbee9468..9d64c423d 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -543,12 +543,10 @@ void UnrealIRCdProto::cmd_akill(const char *user, const char *host, const char * ** parv[1] = client ** parv[2] = kill message */ -void unreal_cmd_svskill(const char *source, const char *user, const char *buf) +void UnrealIRCdProto::cmd_svskill(const char *source, const char *user, const char *buf) { - if (!source || !user || !buf) { - return; - } - send_cmd(source, "%s %s :%s", send_token("SVSKILL", "h"), user, buf); + if (!source || !user || !buf) return; + send_cmd(source, "%s %s :%s", send_token("SVSKILL", "h"), user, buf); } /* @@ -2098,7 +2096,6 @@ void moduleAddIRCDMsgs(void) { **/ void moduleAddAnopeCmds() { - pmodule_cmd_svskill(unreal_cmd_svskill); pmodule_cmd_svsmode(unreal_cmd_svsmode); pmodule_cmd_372(unreal_cmd_372); pmodule_cmd_372_error(unreal_cmd_372_error); |