From 59ee026b3bfd78a67f3141bd362a2f11e9e2c311 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 17 Mar 2021 05:58:47 +0000 Subject: Pascalize Get in extension item classes. --- src/modules/m_restrictchans.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_restrictchans.cpp') diff --git a/src/modules/m_restrictchans.cpp b/src/modules/m_restrictchans.cpp index 1c5b426fb..649135273 100644 --- a/src/modules/m_restrictchans.cpp +++ b/src/modules/m_restrictchans.cpp @@ -37,7 +37,7 @@ class ModuleRestrictChans : public Module bool CanCreateChannel(LocalUser* user, const std::string& name) { const AccountExtItem* accountext = GetAccountExtItem(); - if (allowregistered && accountext && accountext->get(user)) + if (allowregistered && accountext && accountext->Get(user)) return true; if (user->HasPrivPermission("channels/restricted-create")) -- cgit v1.3.1-10-gc9f91