diff options
author | Naram Qashat <cyberbotx@cyberbotx.com> | 2011-10-24 16:32:29 -0400 |
---|---|---|
committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2011-10-24 16:32:29 -0400 |
commit | 377a7a968b6a906f262a45abea9a563ffc471938 (patch) | |
tree | 3743f5d564bd7b40db5659bf6e18dd102b5c5c19 /src/users.cpp | |
parent | d0513d6506ce34b57874ad265daf38ca67878aa0 (diff) |
Fixed bug #1349 (m_sqlite compiles without error under FreeBSD), as well as use C99's stdint.h (or cstdint if available) to get (u)intX_t types instead of our stupid typedefs. pstdint.h included in case there is no cstdint or stdint.h available.
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/users.cpp b/src/users.cpp index f09cdeed2..9d23e719f 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -15,8 +15,8 @@ Anope::insensitive_map<User *> UserListByNick; Anope::map<User *> UserListByUID; -int32 opcnt = 0; -uint32 usercnt = 0, maxusercnt = 0; +int32_t opcnt = 0; +uint32_t usercnt = 0, maxusercnt = 0; time_t maxusertime; /*************************************************************************/ @@ -478,7 +478,7 @@ bool User::IsServicesOper() if (match == false) return false; } - + EventReturn MOD_RESULT; FOREACH_RESULT(I_IsServicesOper, IsServicesOper(this)); if (MOD_RESULT == EVENT_STOP) @@ -843,7 +843,7 @@ User *do_nick(const Anope::string &source, const Anope::string &nick, const Anop if (user->server && user->server->IsULined()) exempt = true; FOREACH_MOD(I_OnUserConnect, OnUserConnect(user, exempt)); - + return user; } else |