diff options
Diffstat (limited to 'modules/anticaps.cpp')
| -rw-r--r-- | modules/anticaps.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/anticaps.cpp b/modules/anticaps.cpp index 48f1d7b8b..d8ba8ee02 100644 --- a/modules/anticaps.cpp +++ b/modules/anticaps.cpp @@ -214,7 +214,7 @@ public: ModResult OnUserPreMessage(User* user, MessageTarget& target, MessageDetails& details) override { // We only want to operate on messages from local users. - if (!IS_LOCAL(user)) + if (!user->IsLocal()) return MOD_RES_PASSTHRU; // The mode can only be applied to channels. |
