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_swhois.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
| download | inspircd++-59ee026b3bfd78a67f3141bd362a2f11e9e2c311.tar.gz inspircd++-59ee026b3bfd78a67f3141bd362a2f11e9e2c311.tar.bz2 inspircd++-59ee026b3bfd78a67f3141bd362a2f11e9e2c311.zip | |
Pascalize Get in extension item classes.
Diffstat (limited to 'src/modules/m_swhois.cpp')
| -rw-r--r-- | src/modules/m_swhois.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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); |
