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:
+1
-1
@@ -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 "";
|
||||
|
||||
Reference in New Issue
Block a user