summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-29 00:18:26 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-29 00:18:26 +0000
commit8782cde20b474cf50f11fc6685c70a785bb3b2be (patch)
treed770967314bf74cd64a69851343d24ddb3d47220 /src/commands
parentd67f0923b5502ac20b8327b98cce21e015123493 (diff)
Compile fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8419 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/cmd_eline.cpp2
-rw-r--r--src/commands/cmd_gline.cpp2
-rw-r--r--src/commands/cmd_kline.cpp2
-rw-r--r--src/commands/cmd_qline.cpp2
-rw-r--r--src/commands/cmd_zline.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/commands/cmd_eline.cpp b/src/commands/cmd_eline.cpp
index 2b1f8d803..a0b35bd64 100644
--- a/src/commands/cmd_eline.cpp
+++ b/src/commands/cmd_eline.cpp
@@ -59,7 +59,7 @@ CmdResult CommandEline::Handle (const char** parameters, int pcnt, User *user)
}
else
{
- if (ServerInstance->XLines->DelELine(parameters[0]))
+ if (ServerInstance->XLines->DelLine(parameters[0], 'E'))
{
FOREACH_MOD(I_OnDelELine,OnDelELine(user, parameters[0]));
ServerInstance->SNO->WriteToSnoMask('x',"%s Removed E-line on %s.",user->nick,parameters[0]);
diff --git a/src/commands/cmd_gline.cpp b/src/commands/cmd_gline.cpp
index e254ac6ed..04b79a8cd 100644
--- a/src/commands/cmd_gline.cpp
+++ b/src/commands/cmd_gline.cpp
@@ -67,7 +67,7 @@ CmdResult CommandGline::Handle (const char** parameters, int pcnt, User *user)
}
else
{
- if (ServerInstance->XLines->DelGLine(parameters[0]))
+ if (ServerInstance->XLines->DelLine(parameters[0],'G'))
{
FOREACH_MOD(I_OnDelGLine,OnDelGLine(user, parameters[0]));
ServerInstance->SNO->WriteToSnoMask('x',"%s Removed G-line on %s.",user->nick,parameters[0]);
diff --git a/src/commands/cmd_kline.cpp b/src/commands/cmd_kline.cpp
index 14cd552ec..5bdc9dc96 100644
--- a/src/commands/cmd_kline.cpp
+++ b/src/commands/cmd_kline.cpp
@@ -66,7 +66,7 @@ CmdResult CommandKline::Handle (const char** parameters, int pcnt, User *user)
}
else
{
- if (ServerInstance->XLines->DelKLine(parameters[0]))
+ if (ServerInstance->XLines->DelLine(parameters[0],'K'))
{
FOREACH_MOD(I_OnDelKLine,OnDelKLine(user, parameters[0]));
ServerInstance->SNO->WriteToSnoMask('x',"%s Removed K-line on %s.",user->nick,parameters[0]);
diff --git a/src/commands/cmd_qline.cpp b/src/commands/cmd_qline.cpp
index e32641e82..6b0b9d2c9 100644
--- a/src/commands/cmd_qline.cpp
+++ b/src/commands/cmd_qline.cpp
@@ -58,7 +58,7 @@ CmdResult CommandQline::Handle (const char** parameters, int pcnt, User *user)
}
else
{
- if (ServerInstance->XLines->DelQLine(parameters[0]))
+ if (ServerInstance->XLines->DelLine(parameters[0],'Q'))
{
FOREACH_MOD(I_OnDelQLine,OnDelQLine(user, parameters[0]));
ServerInstance->SNO->WriteToSnoMask('x',"%s Removed Q-line on %s.",user->nick,parameters[0]);
diff --git a/src/commands/cmd_zline.cpp b/src/commands/cmd_zline.cpp
index 9789830ef..95063c8e2 100644
--- a/src/commands/cmd_zline.cpp
+++ b/src/commands/cmd_zline.cpp
@@ -58,7 +58,7 @@ CmdResult CommandZline::Handle (const char** parameters, int pcnt, User *user)
}
else
{
- if (ServerInstance->XLines->DelZLine(parameters[0]))
+ if (ServerInstance->XLines->DelLine(parameters[0],'Z'))
{
FOREACH_MOD(I_OnDelZLine,OnDelZLine(user, parameters[0]));
ServerInstance->SNO->WriteToSnoMask('x',"%s Removed Z-line on %s.",user->nick,parameters[0]);