]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_stats.cpp
Fix obvious oversight spotted by Ankit, provide xline reasons when adding them
[user/henk/code/inspircd.git] / src / commands / cmd_stats.cpp
index 6c98e7b72d63a29c09aa25799a65ad035b63b032..906ad901f2201fb0b49329dc61cc6b4cba53bd0e 100644 (file)
@@ -51,7 +51,7 @@ DllExport void DoStats(InspIRCd* ServerInstance, char statschar, User* user, str
 {
        std::string sn(ServerInstance->Config->ServerName);
 
-       if (!user->HasPrivPermission("servers/auspex") && !strchr(ServerInstance->Config->UserStats, statschar)))
+       if (!user->HasPrivPermission("servers/auspex") && !strchr(ServerInstance->Config->UserStats, statschar))
        {
                ServerInstance->SNO->WriteToSnoMask('t',
                                "%s '%c' denied for %s (%s@%s)",