summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/account.h2
-rw-r--r--include/extern.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/include/account.h b/include/account.h
index c625c4e0e..eda40ef94 100644
--- a/include/account.h
+++ b/include/account.h
@@ -198,7 +198,7 @@ class CoreExport NickCore : public Extensible, public Flags<NickCoreFlag, NI_END
*
* Retrieves an entry from the access list corresponding to the given index.
*/
- Anope::string GetAccess(unsigned entry);
+ Anope::string GetAccess(unsigned entry) const;
/** Find an entry in the nick's access list
*
diff --git a/include/extern.h b/include/extern.h
index 4fafd494e..08804764e 100644
--- a/include/extern.h
+++ b/include/extern.h
@@ -309,8 +309,8 @@ E void SetDefaultMLock();
/**** nickserv.c ****/
E NickRequest *findrequestnick(const Anope::string &nick);
-E void get_aliases_stats(long *nrec, long *memuse);
-E void get_core_stats(long *nrec, long *memuse);
+E void get_aliases_stats(long &count, long &mem);
+E void get_core_stats(long &count, long &mem);
E void change_core_display(NickCore *nc);
E void change_core_display(NickCore *nc, const Anope::string &newdisplay);
E int do_setmodes(User *u);
@@ -322,7 +322,7 @@ E void expire_nicks();
E void expire_requests();
E NickAlias *findnick(const Anope::string &nick);
E NickCore *findcore(const Anope::string &nick);
-E bool is_on_access(User *u, NickCore *nc);
+E bool is_on_access(const User *u, const NickCore *nc);
/**** process.c ****/