aboutsummaryrefslogtreecommitdiff
path: root/src/configparser.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2018-10-26 01:18:54 +0100
committerGravatar Peter Powell2018-10-26 01:20:35 +0100
commit2d50984185c7902d37783a98f19637c86694a452 (patch)
tree58b599ebbc761d3011e266aeaaa1a0f5612fe449 /src/configparser.cpp
parentChange the branch version from InspIRCd-3.0 to InspIRCd-3. (diff)
Fix a bunch of harmless compiler warnings on recent GCC releases.
Diffstat (limited to 'src/configparser.cpp')
-rw-r--r--src/configparser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/configparser.cpp b/src/configparser.cpp
index 825053044..437b3cdb0 100644
--- a/src/configparser.cpp
+++ b/src/configparser.cpp
@@ -286,7 +286,8 @@ struct Parser
break;
case 0xFE:
case 0xFF:
- stack.errstr << "Do not save your files as UTF-16; use ASCII!\n";
+ stack.errstr << "Do not save your files as UTF-16 or UTF-32, use UTF-8!\n";
+ /*@fallthrough@*/
default:
throw CoreException("Syntax error - start of tag expected");
}