summaryrefslogtreecommitdiff
path: root/src/modules/account.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/account.h')
-rw-r--r--src/modules/account.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/account.h b/src/modules/account.h
index 9182d7ca6..a5cc49591 100644
--- a/src/modules/account.h
+++ b/src/modules/account.h
@@ -28,4 +28,11 @@ class AccountEvent : public Event
}
};
+typedef StringExtItem AccountExtItem;
+
+inline const AccountExtItem* GetAccountExtItem()
+{
+ return static_cast<AccountExtItem*>(ServerInstance->Extensions.GetItem("accountname"));
+}
+
#endif