1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 10:53:12 +02:00

Some code cleanup and constification in nickserv.cpp.

This commit is contained in:
Naram Qashat
2010-07-30 08:09:07 -04:00
parent 0cacbf30d2
commit 527304ed2c
5 changed files with 28 additions and 33 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ void NickCore::AddAccess(const Anope::string &entry)
FOREACH_MOD(I_OnNickAddAccess, OnNickAddAccess(this, entry));
}
Anope::string NickCore::GetAccess(unsigned entry)
Anope::string NickCore::GetAccess(unsigned entry) const
{
if (access.empty() || entry >= access.size())
return "";