summaryrefslogtreecommitdiff
path: root/modules/commands/bs_assign.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-18 22:04:59 -0400
committerAdam <Adam@anope.org>2011-08-18 22:04:59 -0400
commitdb340f96d6e9741a23470840a77901c5c45b580f (patch)
treea6ae8787da9cd45ae3514ea0933b9f99d994f39c /modules/commands/bs_assign.cpp
parent0cdca534a87e70c0044480aa3a16807d881295d7 (diff)
Fixed some permission checking fail in modules that got messed up from the big commands sed
Diffstat (limited to 'modules/commands/bs_assign.cpp')
-rw-r--r--modules/commands/bs_assign.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/bs_assign.cpp b/modules/commands/bs_assign.cpp
index 5f0cdc21f..82eee7914 100644
--- a/modules/commands/bs_assign.cpp
+++ b/modules/commands/bs_assign.cpp
@@ -55,7 +55,7 @@ class CommandBSAssign : public Command
return;
}
- if (bi->HasFlag(BI_PRIVATE) && !u->HasCommand("botserv/botserv/assign/private"))
+ if (bi->HasFlag(BI_PRIVATE) && !u->HasCommand("botserv/assign/private"))
{
source.Reply(ACCESS_DENIED);
return;