diff options
| author | 2021-03-17 05:58:47 +0000 | |
|---|---|---|
| committer | 2021-03-17 05:58:47 +0000 | |
| commit | 59ee026b3bfd78a67f3141bd362a2f11e9e2c311 (patch) | |
| tree | b46cca2fccd025d09a266deca2035eb9b9341597 /src/modules/m_restrictchans.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
Pascalize Get in extension item classes.
Diffstat (limited to 'src/modules/m_restrictchans.cpp')
| -rw-r--r-- | src/modules/m_restrictchans.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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")) |
