summaryrefslogtreecommitdiff
path: root/modules/memoserv/main/memoinfo.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-10-08 12:46:05 -0400
committerAdam <Adam@anope.org>2017-10-08 12:46:05 -0400
commit50f7429fda7cb3ffd8c34abb0a13f3dcc929f2ed (patch)
treee8e65cb6e1fed5aebf0b252954e9f40747ac7f4a /modules/memoserv/main/memoinfo.cpp
parent1e52b087139ceb33b114a7fa20a2c6d3d453d371 (diff)
Fix some compiler warnings
Diffstat (limited to 'modules/memoserv/main/memoinfo.cpp')
-rw-r--r--modules/memoserv/main/memoinfo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/memoserv/main/memoinfo.cpp b/modules/memoserv/main/memoinfo.cpp
index 09c45d278..93d11eb0e 100644
--- a/modules/memoserv/main/memoinfo.cpp
+++ b/modules/memoserv/main/memoinfo.cpp
@@ -67,9 +67,9 @@ ChanServ::Channel *MemoInfoImpl::GetChannel()
return Get(&MemoInfoType::channel);
}
-void MemoInfoImpl::SetChannel(ChanServ::Channel *channel)
+void MemoInfoImpl::SetChannel(ChanServ::Channel *c)
{
- Set(&MemoInfoType::channel, channel);
+ Set(&MemoInfoType::channel, c);
}
int16_t MemoInfoImpl::GetMemoMax()
@@ -87,9 +87,9 @@ bool MemoInfoImpl::IsHardMax()
return Get(&MemoInfoType::hardmax);
}
-void MemoInfoImpl::SetHardMax(bool hardmax)
+void MemoInfoImpl::SetHardMax(bool h)
{
- Set(&MemoInfoType::hardmax, hardmax);
+ Set(&MemoInfoType::hardmax, h);
}
std::vector<MemoServ::Memo *> MemoInfoImpl::GetMemos()