diff options
author | Adam <Adam@anope.org> | 2017-10-08 12:46:05 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-10-08 12:46:05 -0400 |
commit | 50f7429fda7cb3ffd8c34abb0a13f3dcc929f2ed (patch) | |
tree | e8e65cb6e1fed5aebf0b252954e9f40747ac7f4a /modules/memoserv/main/memoinfo.cpp | |
parent | 1e52b087139ceb33b114a7fa20a2c6d3d453d371 (diff) |
Fix some compiler warnings
Diffstat (limited to 'modules/memoserv/main/memoinfo.cpp')
-rw-r--r-- | modules/memoserv/main/memoinfo.cpp | 8 |
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() |