From 377a7a968b6a906f262a45abea9a563ffc471938 Mon Sep 17 00:00:00 2001 From: Naram Qashat Date: Mon, 24 Oct 2011 16:32:29 -0400 Subject: 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. --- src/users.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/users.cpp') 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 UserListByNick; Anope::map 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 -- cgit