Fix up a mistake in antispam logic where only the user, not any other residents might be blocked.

Adds can_block() to NACLantispam.cpp to unify the blocking checks, so mistakes like this shouldn't happen again.
Best viewed without space changes.
This commit is contained in:
Lirusaito
2013-02-28 14:05:01 -05:00
parent 4990af9cfd
commit 7617f560ab
3 changed files with 35 additions and 39 deletions

View File

@@ -85,7 +85,6 @@
#include "aicurl.h"
#include "aihttptimeoutpolicy.h"
#include "NACLantispam.h" // for NaCl Antispam Registry
#ifdef TOGGLE_HACKED_GODLIKE_VIEWER
BOOL gHackGodmode = FALSE;