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_topiclock.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_topiclock.cpp') diff --git a/src/modules/m_topiclock.cpp b/src/modules/m_topiclock.cpp index c5018ecd7..281e3d74e 100644 --- a/src/modules/m_topiclock.cpp +++ b/src/modules/m_topiclock.cpp @@ -83,7 +83,7 @@ class FlagExtItem : public ExtensionItem { } - bool get(const Extensible* container) const + bool Get(const Extensible* container) const { return (GetRaw(container) != NULL); } @@ -143,7 +143,7 @@ class ModuleTopicLock : public Module ModResult OnPreTopicChange(User* user, Channel* chan, const std::string &topic) override { // Only fired for local users currently, but added a check anyway - if ((IS_LOCAL(user)) && (topiclock.get(chan))) + if ((IS_LOCAL(user)) && (topiclock.Get(chan))) { user->WriteNumeric(ERR_TOPICLOCK, chan->name, "TOPIC cannot be changed due to topic lock being active on the channel"); return MOD_RES_DENY; -- cgit v1.3.1-10-gc9f91