diff options
| author | 2022-04-03 08:10:10 +0100 | |
|---|---|---|
| committer | 2022-04-03 10:48:06 +0100 | |
| commit | f5cf358c1413337ae1e9203f5ef117dc0cc592c6 (patch) | |
| tree | ce1fc39d0d193bb41faf0915063e180b022c525f /src/mode.cpp | |
| parent | Fix server status messages unintentionally being sent to all users. (diff) | |
Remove a weird incorrect comment.
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 3538052b7..4ab91fc6b 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -283,11 +283,6 @@ ModeAction ModeParser::TryMode(User* user, User* targetuser, Channel* chan, Mode if (MOD_RESULT == MOD_RES_PASSTHRU) { unsigned int neededrank = mh->GetLevelRequired(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) { |
