diff options
Diffstat (limited to 'src/modules/account.h')
-rw-r--r-- | src/modules/account.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/account.h b/src/modules/account.h index 88b86f8e2..8f4631cc8 100644 --- a/src/modules/account.h +++ b/src/modules/account.h @@ -30,7 +30,7 @@ class AccountEvent : public Event typedef StringExtItem AccountExtItem; -inline const AccountExtItem* GetAccountExtItem() +inline AccountExtItem* GetAccountExtItem() { return static_cast<AccountExtItem*>(ServerInstance->Extensions.GetItem("accountname")); } |