summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2008-08-08 10:14:57 +0000
committerrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2008-08-08 10:14:57 +0000
commit6d7d43f1c881da9569570f7527232ddda9ac4150 (patch)
tree780de1a454ca76c04a4fb99d93ba494d73640b41 /src
parentb5d62435c396f09e538f474ced6b354fa98deea1 (diff)
w00t removed more sa commands from inspircd, as they no longer work
git-svn-id: svn://svn.anope.org/anope/trunk@1406 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1121 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/protocol/inspircd11.c57
1 files changed, 0 insertions, 57 deletions
diff --git a/src/protocol/inspircd11.c b/src/protocol/inspircd11.c
index 855761bf2..532e0e04a 100644
--- a/src/protocol/inspircd11.c
+++ b/src/protocol/inspircd11.c
@@ -386,8 +386,6 @@ int has_globopsmod = 0;
The ircd tends to /squit us if we issue unsupported cmds.
- katsklaw */
int has_svsholdmod = 0;
-int has_sapartmod = 0;
-int has_sanickmod = 0;
int has_chghostmod = 0;
int has_chgidentmod = 0;
@@ -486,9 +484,6 @@ void moduleAddIRCDMsgs(void) {
m = createMessage("WHOIS", anope_event_whois); addCoreMessage(IRCD,m);
m = createMessage("GLOBOPS", anope_event_null); addCoreMessage(IRCD,m);
m = createMessage("SILENCE", anope_event_null); addCoreMessage(IRCD,m);
- m = createMessage("SAMODE", anope_event_samode); addCoreMessage(IRCD,m);
- m = createMessage("SANICK", anope_event_sanick); addCoreMessage(IRCD,m);
- m = createMessage("SAPART", anope_event_sapart); addCoreMessage(IRCD,m);
m = createMessage("SVSMODE", anope_event_mode) ;addCoreMessage(IRCD,m);
m = createMessage("QLINE", anope_event_null); addCoreMessage(IRCD,m);
m = createMessage("GLINE", anope_event_null); addCoreMessage(IRCD,m);
@@ -700,44 +695,6 @@ int anope_event_fmode(char *source, int ac, char **av)
return anope_event_mode(source, ac - 1, newav);
}
-int anope_event_samode(char *source, int ac, char **av)
-{
- /* :source SAMODE targets modes */
- if (ac < 2)
- return MOD_CONT;
- return anope_event_mode(source, ac, av);
- return MOD_CONT;
-}
-
-int anope_event_sanick(char *source, int ac, char **av)
-{
- if (has_sanickmod == 1) {
- /* :source SANICK old new */
- if (ac != 2)
- return MOD_CONT;
- do_nick(av[0], av[1], NULL, NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
- return MOD_CONT;
- } else {
- anope_cmd_global(s_OperServ, "m_sanick not loaded!");
- }
- return MOD_CONT;
-}
-
-int anope_event_sapart(char *source, int ac, char **av)
-{
- if (has_sapartmod == 1) {
- char *newav[1];
- if (ac < 2)
- return MOD_CONT;
- newav[0] = av[1];
- do_part(av[0], 1, newav);
- return MOD_CONT;
- } else {
- anope_cmd_global(s_OperServ, "m_sapart not loaded!");
- }
- return MOD_CONT;
-}
-
int anope_event_fjoin(char *source, int ac, char **av)
{
char *newav[10];
@@ -1543,8 +1500,6 @@ int anope_event_capab(char *source, int ac, char **av)
has_servicesmod = 0;
has_globopsmod = 0;
has_svsholdmod = 0;
- has_sapartmod = 0;
- has_sanickmod = 0;
has_chghostmod = 0;
has_chgidentmod = 0;
@@ -1558,12 +1513,6 @@ int anope_event_capab(char *source, int ac, char **av)
if (strstr(av[1], "m_svshold.so")) {
has_svsholdmod = 1;
}
- if (strstr(av[1], "m_sapart.so")) {
- has_sapartmod = 1;
- }
- if (strstr(av[1], "m_sanick.so")) {
- has_sanickmod = 1;
- }
if (strstr(av[1], "m_chghost.so")) {
has_chghostmod = 1;
}
@@ -1588,12 +1537,6 @@ int anope_event_capab(char *source, int ac, char **av)
if (has_svsholdmod == 0) {
anope_cmd_global(s_OperServ, "SVSHOLD missing, Usage disabled until module is loaded.");
}
- if (has_sapartmod == 0) {
- anope_cmd_global(s_OperServ, "SAPART missing, Usage disabled until module is loaded.");
- }
- if (has_sanickmod == 0) {
- anope_cmd_global(s_OperServ, "SANICK missing, Usage disabled until module is loaded.");
- }
if (has_chghostmod == 0) {
anope_cmd_global(s_OperServ, "CHGHOST missing, Usage disabled until module is loaded.");
}