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 | e8cd183ed36a5014ddbd1a44dde8e311bb44f35a (patch) | |
tree | 288cde706a8fc700d971a095a66687dcd2aea11c /src/protocol/unreal32.c | |
parent | 8060c79a5f13dae4607475d159319afe5e241dcc (diff) |
Added cmd_svso() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1245 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/unreal32.c')
-rw-r--r-- | src/protocol/unreal32.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c index 9480dcba5..2b1c9ed3e 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -877,13 +877,10 @@ void UnrealIRCdProto::cmd_sqline(const char *mask, const char *reason) ** parv[1] = nick ** parv[2] = options */ -void unreal_cmd_svso(const char *source, const char *nick, const char *flag) +void UnrealIRCdProto::cmd_svso(const char *source, const char *nick, const char *flag) { - if (!source || !nick || !flag) { - return; - } - - send_cmd(source, "%s %s %s", send_token("SVSO", "BB"), nick, flag); + if (!source || !nick || !flag) return; + send_cmd(source, "%s %s %s", send_token("SVSO", "BB"), nick, flag); } /* NICK <newnick> */ @@ -1979,7 +1976,6 @@ void moduleAddAnopeCmds() pmodule_cmd_242(unreal_cmd_242); pmodule_cmd_243(unreal_cmd_243); pmodule_cmd_211(unreal_cmd_211); - pmodule_cmd_svso(unreal_cmd_svso); pmodule_cmd_chg_nick(unreal_cmd_chg_nick); pmodule_cmd_svsnick(unreal_cmd_svsnick); pmodule_cmd_vhost_on(unreal_cmd_vhost_on); |