diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:11 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:11 +0000 |
commit | 8705fed8d72a93e34a8b8759bcb42d73f9106370 (patch) | |
tree | 6d2f6eb1135ce906a4638ee7f0c059cc5a5fb723 /src/protocol/unreal32.c | |
parent | 6ae0b4e597e18857b2f96de49c947e47f101d80b (diff) |
Added cmd_unsqline() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1239 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 d68a7184d..cadf0873d 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -707,12 +707,10 @@ void UnrealIRCdProto::cmd_join(const char *user, const char *channel, time_t cha ** parv[0] = sender ** parv[1] = nickmask */ -void unreal_cmd_unsqline(const char *user) +void UnrealIRCdProto::cmd_unsqline(const char *user) { - if (!user) { - return; - } - send_cmd(NULL, "%s %s", send_token("UNSQLINE", "d"), user); + if (!user) return; + send_cmd(NULL, "%s %s", send_token("UNSQLINE", "d"), user); } /* CHGHOST */ @@ -2018,7 +2016,6 @@ void moduleAddAnopeCmds() pmodule_cmd_375(unreal_cmd_375); pmodule_cmd_376(unreal_cmd_376); pmodule_cmd_351(unreal_cmd_351); - pmodule_cmd_unsqline(unreal_cmd_unsqline); pmodule_cmd_invite(unreal_cmd_invite); pmodule_cmd_part(unreal_cmd_part); pmodule_cmd_391(unreal_cmd_391); |