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 | 3f01210bf188e3b7ef334df51b2443e0d94a1b6d (patch) | |
| tree | e59ca1bfa22b8e9fa58e934207332530a967449e /src/protocol/inspircd11.c | |
| parent | d1004fe1a46c9f14555ee3b9832c00a696cde0fe (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/inspircd11.c')
| -rw-r--r-- | src/protocol/inspircd11.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/protocol/inspircd11.c b/src/protocol/inspircd11.c index 93d245cdb..e3c3ab7dd 100644 --- a/src/protocol/inspircd11.c +++ b/src/protocol/inspircd11.c @@ -838,20 +838,6 @@ void inspircd_cmd_chgident(const char *nick, const char *vIdent) } } -/* PART */ -void inspircd_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 :Leaving", chan); - } -} - /* 391 */ void inspircd_cmd_391(const char *source, const char *timestr) { @@ -1707,7 +1693,6 @@ void moduleAddAnopeCmds() pmodule_cmd_375(inspircd_cmd_375); pmodule_cmd_376(inspircd_cmd_376); pmodule_cmd_351(inspircd_cmd_351); - pmodule_cmd_part(inspircd_cmd_part); pmodule_cmd_391(inspircd_cmd_391); pmodule_cmd_250(inspircd_cmd_250); pmodule_cmd_307(inspircd_cmd_307); |
