diff options
| author | 2020-07-20 11:58:28 +0100 | |
|---|---|---|
| committer | 2020-07-20 11:58:28 +0100 | |
| commit | ef4e61cd241a7e8cd41ac49621a81952267c3dfb (patch) | |
| tree | ae91a834393a7b87cbc92a4f42f5c69a190e69e8 /src/modules/m_callerid.cpp | |
| parent | Only upgrade Homebrew packages that we actually use. (diff) | |
| download | inspircd++-ef4e61cd241a7e8cd41ac49621a81952267c3dfb.tar.gz inspircd++-ef4e61cd241a7e8cd41ac49621a81952267c3dfb.tar.bz2 inspircd++-ef4e61cd241a7e8cd41ac49621a81952267c3dfb.zip | |
Pascalize ExtensionItem::{get,set,unset}_raw.
Diffstat (limited to 'src/modules/m_callerid.cpp')
| -rw-r--r-- | src/modules/m_callerid.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp index 3a7d56ab7..2b954a0e3 100644 --- a/src/modules/m_callerid.cpp +++ b/src/modules/m_callerid.cpp @@ -94,11 +94,11 @@ struct CallerIDExtInfo : public ExtensionItem void FromInternal(Extensible* container, const std::string& value) override { - void* old = get_raw(container); + void* old = GetRaw(container); if (old) this->Delete(NULL, old); callerid_data* dat = new callerid_data; - set_raw(container, dat); + SetRaw(container, dat); irc::commasepstream s(value); std::string tok; @@ -121,11 +121,11 @@ struct CallerIDExtInfo : public ExtensionItem callerid_data* get(User* user, bool create) { - callerid_data* dat = static_cast<callerid_data*>(get_raw(user)); + callerid_data* dat = static_cast<callerid_data*>(GetRaw(user)); if (create && !dat) { dat = new callerid_data; - set_raw(user, dat); + SetRaw(user, dat); } return dat; } |
