diff options
| author | Adam <Adam@anope.org> | 2013-07-20 02:55:25 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2013-07-20 03:06:20 -0400 |
| commit | 6db01869479c878753fc6da49f2fb0bc44511359 (patch) | |
| tree | 130e3afdc6d524eae1bb9a083dd60c84f523e1cb /modules/database/db_plain.cpp | |
| parent | 492eac20a8e2dfdbdbd5a83e41ed880af76cff79 (diff) | |
Fix not setting the correct compile flags on modules and fix the resulting warnings
Diffstat (limited to 'modules/database/db_plain.cpp')
| -rw-r--r-- | modules/database/db_plain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/database/db_plain.cpp b/modules/database/db_plain.cpp index 62ecaaaa0..69fafea99 100644 --- a/modules/database/db_plain.cpp +++ b/modules/database/db_plain.cpp @@ -279,7 +279,7 @@ EventReturn OnDatabaseReadMetadata(ChannelInfo *ci, const Anope::string &key, co ci->Extend<bool>(params[i]); else if (params[0].equals_ci("TTB")) { - for (unsigned j = 1, end = params.size(); j < end &&& kd; j += 2) + for (unsigned j = 1, end = params.size(); j < end && kd; j += 2) { if (params[j].equals_ci("BOLDS")) kd->ttb[0] = params[j + 1].is_pos_number_only() ? convertTo<int16_t>(params[j + 1]) : 0; |
