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_swhois.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/m_swhois.cpp') diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp index 8a46c8c5c..3f441c07d 100644 --- a/src/modules/m_swhois.cpp +++ b/src/modules/m_swhois.cpp @@ -60,7 +60,7 @@ class CommandSwhois : public Command return CmdResult::FAILURE; } - std::string* text = swhois.get(dest); + std::string* text = swhois.Get(dest); if (text) { // We already had it set... @@ -115,7 +115,7 @@ class ModuleSWhois if (numeric.GetNumeric() == 312) { /* Insert our numeric before 312 */ - std::string* swhois = cmd.swhois.get(whois.GetTarget()); + std::string* swhois = cmd.swhois.Get(whois.GetTarget()); if (swhois) { whois.SendLine(RPL_WHOISSPECIAL, *swhois); @@ -143,11 +143,11 @@ class ModuleSWhois void OnPostDeoper(User* user) override { - std::string* swhois = cmd.swhois.get(user); + std::string* swhois = cmd.swhois.Get(user); if (!swhois) return; - if (!cmd.operblock.get(user)) + if (!cmd.operblock.Get(user)) return; cmd.operblock.unset(user); -- cgit v1.3.1-10-gc9f91