summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/inspircd_io.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp
index 2faa7e0ab..b1e90bfd0 100644
--- a/src/inspircd_io.cpp
+++ b/src/inspircd_io.cpp
@@ -916,9 +916,9 @@ int ServerConfig::ReadConf(std::stringstream *config, const char* tag, const cha
else
{
key+=strlen(var);
- while (key[0] !='"')
+ while (*key !='"')
{
- if (!strlen(key))
+ if (!*key)
{
/* missing quote */
strcpy(result,"");