mirror of
https://github.com/anope/anope.git
synced 2026-06-25 05:36:37 +02:00
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.
This commit is contained in:
@@ -63,11 +63,11 @@ static void ChanInfoUpdate(const Anope::string &name, const SQLResult &res)
|
||||
bi->Assign(NULL, ci);
|
||||
}
|
||||
|
||||
ci->capsmin = convertTo<int16>(res.Get(0, "capsmin"));
|
||||
ci->capspercent = convertTo<int16>(res.Get(0, "capspercent"));
|
||||
ci->floodlines = convertTo<int16>(res.Get(0, "floodlines"));
|
||||
ci->floodsecs = convertTo<int16>(res.Get(0, "floodsecs"));
|
||||
ci->repeattimes = convertTo<int16>(res.Get(0, "repeattimes"));
|
||||
ci->capsmin = convertTo<int16_t>(res.Get(0, "capsmin"));
|
||||
ci->capspercent = convertTo<int16_t>(res.Get(0, "capspercent"));
|
||||
ci->floodlines = convertTo<int16_t>(res.Get(0, "floodlines"));
|
||||
ci->floodsecs = convertTo<int16_t>(res.Get(0, "floodsecs"));
|
||||
ci->repeattimes = convertTo<int16_t>(res.Get(0, "repeattimes"));
|
||||
|
||||
if (ci->c)
|
||||
check_modes(ci->c);
|
||||
|
||||
Reference in New Issue
Block a user