summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-02 02:22:03 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-02 02:22:03 +0000
commit32bb4c102768046195f64194c8951041132835ad (patch)
treeacd66fe73336d0dd3f38d103da81edc10ab0bbe9 /src/inspircd.cpp
parent6f18300255d75ba961ba6e0b04718adddbb75160 (diff)
Its too late at night for this :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2105 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 64adc0c12..65b43fa37 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -1634,7 +1634,7 @@ bool is_valid_cmd(const char* commandname, int pcnt, userrec * user)
{
if (cmdlist[i].flags_needed)
{
- if (!user->HasPermission((char*)commandname))
+ if (user->HasPermission((char*)commandname))
{
return true;
}
@@ -1668,7 +1668,7 @@ void call_handler(const char* commandname,char **parameters, int pcnt, userrec *
{
if (cmdlist[i].flags_needed)
{
- if (!user->HasPermission((char*)commandname))
+ if (user->HasPermission((char*)commandname))
{
cmdlist[i].handler_function(parameters,pcnt,user);
}