summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-10-27 21:10:03 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-10-27 21:10:03 +0100
commitd11323cf349815197d824facf79b6fdbfc9f5a98 (patch)
treee4e046064984fec5f7090f58a9e3455d64896808
parentc99a43968f6a04c7d5d3038b4e39d14c22aa6e89 (diff)
Allow setting a limit of less than 64 entries for non-ban listmodes via <banlist>
Fixes regression introduced in 234be2f3cb
-rw-r--r--src/modules/u_listmode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/u_listmode.h b/src/modules/u_listmode.h
index 30bf6a48f..a728eb839 100644
--- a/src/modules/u_listmode.h
+++ b/src/modules/u_listmode.h
@@ -294,6 +294,8 @@ class ListModeBase : public ModeHandler
return MODEACTION_DENY;
}
}
+ else
+ break;
}
}