diff options
Diffstat (limited to 'src/mode.cpp')
| -rw-r--r-- | src/mode.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index a005f81fb..3b3779e97 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -271,11 +271,6 @@ ModeAction ModeParser::TryMode(User* user, User* targetuser, Channel* chan, Mode if (MOD_RESULT == MOD_RES_PASSTHRU) { unsigned int neededrank = mh->GetLevelRequired(mcitem.adding); - /* Compare our rank on the channel against the rank of the required prefix, - * allow if >= ours. Because mIRC and xchat throw a tizz if the modes shown - * in NAMES(X) are not in rank order, we know the most powerful mode is listed - * first, so we don't need to iterate, we just look up the first instead. - */ unsigned int ourrank = chan->GetPrefixValue(user); if (ourrank < neededrank) { |
