summaryrefslogtreecommitdiff
path: root/src/inspircd_io.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-15 18:47:58 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-15 18:47:58 +0000
commit03b51e9cb691848f9906e7dc8dca4894c60e5bcc (patch)
tree2e2b9599ba4286b398a69baca7c8bf93c533a78d /src/inspircd_io.cpp
parent825d9b663c23f9dcaf13ce30f053e47d8e1cc23c (diff)
Tidied up some string stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2488 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd_io.cpp')
-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,"");