diff options
author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-30 08:09:07 -0400 |
---|---|---|
committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-30 08:09:07 -0400 |
commit | 527304ed2cbe0e217c4c5cd35716b4f5f44d8431 (patch) | |
tree | 80ade7ab3e84e99dbc53ed9979c4702ab0d6d490 /src/nickcore.cpp | |
parent | 0cacbf30d294b61f8a001d01a6dfc300ce797132 (diff) |
Some code cleanup and constification in nickserv.cpp.
Diffstat (limited to 'src/nickcore.cpp')
-rw-r--r-- | src/nickcore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nickcore.cpp b/src/nickcore.cpp index 2996c6afc..a3b97a6e7 100644 --- a/src/nickcore.cpp +++ b/src/nickcore.cpp @@ -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 ""; |