From f5cf358c1413337ae1e9203f5ef117dc0cc592c6 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 3 Apr 2022 08:10:10 +0100 Subject: Remove a weird incorrect comment. --- src/mode.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/mode.cpp') 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) { -- cgit v1.3.1-10-gc9f91