diff options
| author | 2021-03-17 05:58:47 +0000 | |
|---|---|---|
| committer | 2021-03-17 05:58:47 +0000 | |
| commit | 59ee026b3bfd78a67f3141bd362a2f11e9e2c311 (patch) | |
| tree | b46cca2fccd025d09a266deca2035eb9b9341597 /src/listmode.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
Pascalize Get in extension item classes.
Diffstat (limited to 'src/listmode.cpp')
| -rw-r--r-- | src/listmode.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/listmode.cpp b/src/listmode.cpp index ecd63484f..2f2e5c336 100644 --- a/src/listmode.cpp +++ b/src/listmode.cpp @@ -35,7 +35,7 @@ ListModeBase::ListModeBase(Module* Creator, const std::string& Name, char modech void ListModeBase::DisplayList(User* user, Channel* channel) { - ChanData* cd = extItem.get(channel); + ChanData* cd = extItem.Get(channel); if (cd) { for (ModeList::const_iterator it = cd->list.begin(); it != cd->list.end(); ++it) @@ -53,7 +53,7 @@ void ListModeBase::DisplayEmptyList(User* user, Channel* channel) void ListModeBase::RemoveMode(Channel* channel, Modes::ChangeList& changelist) { - ChanData* cd = extItem.get(channel); + ChanData* cd = extItem.Get(channel); if (cd) { for (ModeList::iterator it = cd->list.begin(); it != cd->list.end(); it++) @@ -102,7 +102,7 @@ void ListModeBase::DoRehash() const chan_hash& chans = ServerInstance->GetChans(); for (chan_hash::const_iterator i = chans.begin(); i != chans.end(); ++i) { - ChanData* cd = extItem.get(i->second); + ChanData* cd = extItem.Get(i->second); if (cd) cd->maxitems = -1; } @@ -130,7 +130,7 @@ unsigned int ListModeBase::GetLimitInternal(const std::string& channame, ChanDat unsigned int ListModeBase::GetLimit(Channel* channel) { - ChanData* cd = extItem.get(channel); + ChanData* cd = extItem.Get(channel); if (!cd) // just find the limit return FindLimit(channel->name); @@ -154,7 +154,7 @@ unsigned int ListModeBase::GetLowerLimit() ModeAction ListModeBase::OnModeChange(User* source, User*, Channel* channel, std::string ¶meter, bool adding) { // Try and grab the list - ChanData* cd = extItem.get(channel); + ChanData* cd = extItem.Get(channel); if (adding) { |
