aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_ircv3_batch.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-03-17 05:58:47 +0000
committerGravatar Sadie Powell2021-03-17 05:58:47 +0000
commit59ee026b3bfd78a67f3141bd362a2f11e9e2c311 (patch)
treeb46cca2fccd025d09a266deca2035eb9b9341597 /src/modules/m_ircv3_batch.cpp
parentMerge branch 'insp3' into master. (diff)
Pascalize Get in extension item classes.
Diffstat (limited to 'src/modules/m_ircv3_batch.cpp')
-rw-r--r--src/modules/m_ircv3_batch.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_ircv3_batch.cpp b/src/modules/m_ircv3_batch.cpp
index 01d3384e9..2677b24ad 100644
--- a/src/modules/m_ircv3_batch.cpp
+++ b/src/modules/m_ircv3_batch.cpp
@@ -74,7 +74,7 @@ class IRCv3::Batch::ManagerImpl : public Manager
Batch& batch = *static_cast<Batch*>(tagdata.provdata);
// Check if this is the first message the user is getting that is part of the batch
- const intptr_t bits = batchbits.get(user);
+ const intptr_t bits = batchbits.Get(user);
if (!(bits & batch.GetBit()))
{
// Send the start batch command ("BATCH +reftag TYPE"), remember the user so we can send them a
@@ -125,7 +125,7 @@ class IRCv3::Batch::ManagerImpl : public Manager
void RemoveFromAll(LocalUser* user)
{
- const intptr_t bits = batchbits.get(user);
+ const intptr_t bits = batchbits.Get(user);
// User is quitting, remove them from all lists
for (BatchList::iterator i = active_batches.begin(); i != active_batches.end(); ++i)
@@ -173,7 +173,7 @@ class IRCv3::Batch::ManagerImpl : public Manager
{
LocalUser* const user = *i;
user->Send(batchinfo.endevent);
- batchbits.set(user, batchbits.get(user) & ~batch.GetBit());
+ batchbits.set(user, batchbits.Get(user) & ~batch.GetBit());
}
// erase() not swaperase because the reftag generation logic depends on the order of the elements