summaryrefslogtreecommitdiff
path: root/src/coremods/core_stats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/coremods/core_stats.cpp')
-rw-r--r--src/coremods/core_stats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_stats.cpp b/src/coremods/core_stats.cpp
index 1192b1be9..997dd3afe 100644
--- a/src/coremods/core_stats.cpp
+++ b/src/coremods/core_stats.cpp
@@ -335,7 +335,7 @@ void CommandStats::DoStats(char statschar, User* user, string_list &results)
tag->init();
std::string umodes;
std::string cmodes;
- for(char c='A'; c < 'z'; c++)
+ for(char c='A'; c <= 'z'; c++)
{
ModeHandler* mh = ServerInstance->Modes->FindMode(c, MODETYPE_USER);
if (mh && mh->NeedsOper() && tag->AllowedUserModes[c - 'A'])