summaryrefslogtreecommitdiff
path: root/src/protocol/ratbox.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:11 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:11 +0000
commit8705fed8d72a93e34a8b8759bcb42d73f9106370 (patch)
tree6d2f6eb1135ce906a4638ee7f0c059cc5a5fb723 /src/protocol/ratbox.c
parent6ae0b4e597e18857b2f96de49c947e47f101d80b (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/ratbox.c')
-rw-r--r--src/protocol/ratbox.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/protocol/ratbox.c b/src/protocol/ratbox.c
index 85bec0ccd..c872d4ca5 100644
--- a/src/protocol/ratbox.c
+++ b/src/protocol/ratbox.c
@@ -758,13 +758,10 @@ void ratbox_cmd_vhost_on(const char *nick, const char *vIdent, const char *vhost
/* not supported */
}
-void ratbox_cmd_unsqline(const char *user)
+void RatboxProto::cmd_unsqline(const char *user)
{
- Uid *ud;
-
- ud = find_uid(s_OperServ);
- send_cmd((UseTS6 ? (ud ? ud->uid : s_OperServ) : s_OperServ),
- "UNRESV * %s", user);
+ Uid *ud = find_uid(s_OperServ);
+ send_cmd(UseTS6 ? (ud ? ud->uid : s_OperServ) : s_OperServ, "UNRESV * %s", user);
}
void RatboxProto::cmd_join(const char *user, const char *channel, time_t chantime)
@@ -1620,7 +1617,6 @@ void moduleAddAnopeCmds()
pmodule_cmd_375(ratbox_cmd_375);
pmodule_cmd_376(ratbox_cmd_376);
pmodule_cmd_351(ratbox_cmd_351);
- pmodule_cmd_unsqline(ratbox_cmd_unsqline);
pmodule_cmd_invite(ratbox_cmd_invite);
pmodule_cmd_part(ratbox_cmd_part);
pmodule_cmd_391(ratbox_cmd_391);