mirror of
https://github.com/anope/anope.git
synced 2026-06-29 16:56:37 +02:00
Merge 032c30dd5d
This commit is contained in:
@@ -268,7 +268,7 @@ class DBMySQL : public Module
|
||||
|
||||
nc->language = r.Get(i, "language");
|
||||
nc->channelcount = r.Get(i, "channelcount").is_number_only() ? convertTo<int>(r.Get(i, "channelcount")) : 0;
|
||||
nc->memos.memomax = r.Get(i, "memomax").is_number_only() ? convertTo<int>(r.Get(i, "memomax")) : 20;
|
||||
nc->memos.memomax = r.Get(i, "memomax").is_number_only() ? convertTo<int16>(r.Get(i, "memomax")) : 20;
|
||||
}
|
||||
|
||||
r = SQL->RunQuery("SELECT * FROM `anope_ns_access`");
|
||||
@@ -414,7 +414,7 @@ class DBMySQL : public Module
|
||||
ci->forbidby = r.Get(i, "forbidby");
|
||||
ci->forbidreason = r.Get(i, "forbidreason");
|
||||
ci->bantype = r.Get(i, "bantype").is_number_only() ? convertTo<int>(r.Get(i, "bantype")) : 2;
|
||||
ci->memos.memomax = r.Get(i, "memomax").is_number_only() ? convertTo<int>(r.Get(i, "memomax")) : 20;
|
||||
ci->memos.memomax = r.Get(i, "memomax").is_number_only() ? convertTo<int16>(r.Get(i, "memomax")) : 20;
|
||||
ci->capsmin = r.Get(i, "capsmin").is_number_only() ? convertTo<int>(r.Get(i, "capsmin")) : 0;
|
||||
ci->capspercent = r.Get(i, "capspercent").is_number_only() ? convertTo<int>(r.Get(i, "capspercent")) : 0;
|
||||
ci->floodlines = r.Get(i, "floodlines").is_number_only() ? convertTo<int>(r.Get(i, "floodlines")) : 0;
|
||||
|
||||
Reference in New Issue
Block a user