summaryrefslogtreecommitdiff
path: root/modules/fantasy.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-11-11 17:10:24 +0000
committerSadie Powell <sadie@witchery.services>2024-11-11 17:13:01 +0000
commitdf1c6176b38eea8d8889604699012ac8b172e341 (patch)
tree73a467a7df0882541cd4f9cb5e249972647283f5 /modules/fantasy.cpp
parent8634594cd1a11d6786e7da44679483718f47cc09 (diff)
parent96ccfe4cbe9948206ac2d6854778f9a268d2476f (diff)
Merge branch '2.0' into 2.1.
Diffstat (limited to 'modules/fantasy.cpp')
-rw-r--r--modules/fantasy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fantasy.cpp b/modules/fantasy.cpp
index 0b3e642aa..20ccd0570 100644
--- a/modules/fantasy.cpp
+++ b/modules/fantasy.cpp
@@ -169,7 +169,7 @@ public:
}
// Command requires registered users only
- if (!cmd->AllowUnregistered() && !u->Account())
+ if (!cmd->AllowUnregistered() && !u->IsIdentified())
return;
if (params.size() < cmd->min_params)