diff options
Diffstat (limited to 'src/mode.cpp')
-rw-r--r-- | src/mode.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index 62dd61f4c..11fecf06a 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -185,6 +185,7 @@ const char* ModeParser::Grant(userrec *d,chanrec *chan,int MASK) { if (n->second & MASK) { + ServerInstance->Log(DEBUG,"User already has privilage %d (privset: %d)", MASK, n->second); return ""; } n->second = n->second | MASK; @@ -203,6 +204,10 @@ const char* ModeParser::Grant(userrec *d,chanrec *chan,int MASK) ServerInstance->Log(DEBUG,"grant: %s %s",n->first->name,d->nick); return d->nick; } + else + { + ServerInstance->Log(DEBUG,"Channel %s not in users joined list", chan->name); + } return ""; } |