summaryrefslogtreecommitdiff
path: root/src/commands/cmd_gline.cpp
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/cmd_gline.cpp
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/cmd_gline.cpp')
-rw-r--r--src/commands/cmd_gline.cpp2
1 files changed, 1 insertions, 1 deletions
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]);