diff options
author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-27 18:28:16 -0400 |
---|---|---|
committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-27 18:28:16 -0400 |
commit | 92edce8ef9da7bb1bd337c2b9ece2589d664689c (patch) | |
tree | ed632d279b7b8939f527782c6ff813281f34feb4 /include/extern.h | |
parent | 502c985072240d1d3daa183d4d17c4692f597b5d (diff) |
Cleaned up some code in src/users.cpp that kinda annoyed me.
Diffstat (limited to 'include/extern.h')
-rw-r--r-- | include/extern.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/extern.h b/include/extern.h index f36be8640..7f1bcdb6f 100644 --- a/include/extern.h +++ b/include/extern.h @@ -376,7 +376,7 @@ E int32 opcnt; E uint32 maxusercnt, usercnt; E time_t maxusertime; -E void get_user_stats(long *nusers, long *memuse); +E void get_user_stats(long &count, long &mem); E User *finduser(const Anope::string &nick); @@ -388,12 +388,12 @@ E void do_umode(const Anope::string &source, int ac, const char **av); E void do_quit(const Anope::string &source, int ac, const char **av); E void do_kill(const Anope::string &source, const Anope::string &reason); -E int is_oper(User *user); +E bool is_oper(User *user); -E int is_excepted(ChannelInfo *ci, User * user); -E int is_excepted_mask(ChannelInfo *ci, const Anope::string &mask); +E bool is_excepted(ChannelInfo *ci, User *user); +E bool is_excepted_mask(ChannelInfo *ci, const Anope::string &mask); -E int match_usermask(const Anope::string &mask, User *user); +E bool match_usermask(const Anope::string &mask, User *user); E Anope::string create_mask(User *u); E void UserSetInternalModes(User *user, int ac, const char **av); |