summaryrefslogtreecommitdiff
path: root/src/protocol/bahamut.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
commit3f01210bf188e3b7ef334df51b2443e0d94a1b6d (patch)
treee59ca1bfa22b8e9fa58e934207332530a967449e /src/protocol/bahamut.c
parentd1004fe1a46c9f14555ee3b9832c00a696cde0fe (diff)
Added cmd_part() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1241 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/bahamut.c')
-rw-r--r--src/protocol/bahamut.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c
index 713e59d98..b1fdedf86 100644
--- a/src/protocol/bahamut.c
+++ b/src/protocol/bahamut.c
@@ -744,20 +744,6 @@ void BahamutIRCdProto::cmd_remove_akill(const char *user, const char *host)
send_cmd(NULL, "RAKILL %s %s", host, user);
}
-/* PART */
-void bahamut_cmd_part(const char *nick, const char *chan, const char *buf)
-{
- if (!nick || !chan) {
- return;
- }
-
- if (buf) {
- send_cmd(nick, "PART %s :%s", chan, buf);
- } else {
- send_cmd(nick, "PART %s", chan);
- }
-}
-
/* TOPIC */
void BahamutIRCdProto::cmd_topic(const char *whosets, const char *chan, const char *whosetit, const char *topic, time_t when)
{
@@ -1463,7 +1449,6 @@ void moduleAddAnopeCmds()
pmodule_cmd_375(bahamut_cmd_375);
pmodule_cmd_376(bahamut_cmd_376);
pmodule_cmd_351(bahamut_cmd_351);
- pmodule_cmd_part(bahamut_cmd_part);
pmodule_cmd_391(bahamut_cmd_391);
pmodule_cmd_250(bahamut_cmd_250);
pmodule_cmd_307(bahamut_cmd_307);