summaryrefslogtreecommitdiff
path: root/modules/chanserv/mode.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/chanserv/mode.cpp
parent1e52b087139ceb33b114a7fa20a2c6d3d453d371 (diff)
Fix some compiler warnings
Diffstat (limited to 'modules/chanserv/mode.cpp')
-rw-r--r--modules/chanserv/mode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/chanserv/mode.cpp b/modules/chanserv/mode.cpp
index 9b98534a0..b1639baa0 100644
--- a/modules/chanserv/mode.cpp
+++ b/modules/chanserv/mode.cpp
@@ -96,9 +96,9 @@ Anope::string ModeLockImpl::GetName()
return Get(&ModeLockType::name);
}
-void ModeLockImpl::SetName(const Anope::string &name)
+void ModeLockImpl::SetName(const Anope::string &n)
{
- Set(&ModeLockType::name, name);
+ Set(&ModeLockType::name, n);
}
Anope::string ModeLockImpl::GetParam()