summaryrefslogtreecommitdiff
path: root/src/modules/cs_enforce.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/cs_enforce.c')
-rw-r--r--src/modules/cs_enforce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/cs_enforce.c b/src/modules/cs_enforce.c
index 9d752cd36..ae7d44305 100644
--- a/src/modules/cs_enforce.c
+++ b/src/modules/cs_enforce.c
@@ -135,7 +135,7 @@ class CommandCSEnforce : public Command
{
UserContainer *uc = *it++;
- if (!nick_identified(uc->user))
+ if (!uc->user->IsIdentified())
{
get_idealban(ci, uc->user, mask, sizeof(mask));
reason = getstring(uc->user, CHAN_NOT_ALLOWED_TO_JOIN);