summaryrefslogtreecommitdiff
path: root/src/configparser.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-10 20:54:03 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-10 20:54:03 +0000
commit87ad22b6067534329f76acc45fdad8e09688db65 (patch)
tree536e82bea9362c268c50d8dd1a7b3e80473fa0a3 /src/configparser.cpp
parentb790dee4873df308247655bb8ca88be9c483b536 (diff)
Better error messages for m_autoop
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12423 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configparser.cpp')
-rw-r--r--src/configparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configparser.cpp b/src/configparser.cpp
index 4a0c9b58d..6b1b47e6d 100644
--- a/src/configparser.cpp
+++ b/src/configparser.cpp
@@ -76,7 +76,7 @@ struct Parser
int ch = next();
while (isspace(ch))
ch = next();
- while (isalnum(ch) || ch == '_')
+ while (isalnum(ch) || ch == '_'|| ch == '-')
{
rv.push_back(ch);
ch = next();