summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-08 19:42:53 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-08 19:42:53 +0000
commit32834b531c503bf86c022647b77c9eaad66eb36f (patch)
tree228172d2448c786c747faf20755d49560aca6b23
parentff32b2e66c8eb55d568687a0892d947d48153bff (diff)
Fix a bug with /SHUN deletion (it didn't work)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9433 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_shun.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp
index ee10654b8..95c7cd37b 100644
--- a/src/modules/m_shun.cpp
+++ b/src/modules/m_shun.cpp
@@ -92,7 +92,7 @@ class cmd_shun : public Command
if(pcnt == 1)
{
- if (ServerInstance->XLines->DelLine(parameters[0], "S", user))
+ if (ServerInstance->XLines->DelLine(parameters[0], "SHUN", user))
{
ServerInstance->SNO->WriteToSnoMask('x',"%s Removed shun on %s.",user->nick,parameters[0]);
}