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_dccallow.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
Pascalize Get in extension item classes.
Diffstat (limited to 'src/modules/m_dccallow.cpp')
| -rw-r--r-- | src/modules/m_dccallow.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index 663bacf88..d7a2c67b2 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -236,7 +236,7 @@ class CommandDccallow : public Command if (action == '-') { // check if it contains any entries - dl = ext.get(user); + dl = ext.Get(user); if (dl) { for (dccallowlist::iterator i = dl->begin(); i != dl->end(); ++i) @@ -259,7 +259,7 @@ class CommandDccallow : public Command return CmdResult::FAILURE; } - dl = ext.get(user); + dl = ext.Get(user); if (!dl) { dl = new dccallowlist; @@ -355,7 +355,7 @@ class CommandDccallow : public Command // display current DCCALLOW list user->WriteNumeric(RPL_DCCALLOWSTART, "Users on your DCCALLOW list:"); - dl = ext.get(user); + dl = ext.Get(user); if (dl) { for (dccallowlist::const_iterator c = dl->begin(); c != dl->end(); ++c) @@ -387,7 +387,7 @@ class ModuleDCCAllow : public Module void OnUserQuit(User* user, const std::string &reason, const std::string &oper_message) override { - dccallowlist* udl = ext.get(user); + dccallowlist* udl = ext.Get(user); // remove their DCCALLOW list if they have one if (udl) @@ -427,7 +427,7 @@ class ModuleDCCAllow : public Module if (irc::equals(ctcpname, "DCC") && !ctcpbody.empty()) { - dl = ext.get(u); + dl = ext.Get(u); if (dl && dl->size()) { for (dccallowlist::const_iterator iter = dl->begin(); iter != dl->end(); ++iter) @@ -511,7 +511,7 @@ class ModuleDCCAllow : public Module for (userlist::iterator iter = ul.begin(); iter != ul.end();) { User* u = (User*)(*iter); - dl = ext.get(u); + dl = ext.Get(u); if (dl) { if (dl->size()) @@ -546,7 +546,7 @@ class ModuleDCCAllow : public Module for (userlist::iterator iter = ul.begin(); iter != ul.end();) { User *u = (User*)(*iter); - dl = ext.get(u); + dl = ext.Get(u); if (dl) { if (dl->size()) |
