summaryrefslogtreecommitdiff
path: root/src/s_user.c
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-07-03 21:41:52 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-07-03 21:41:52 +0000
commit0fd1bddc838c51119d8ac1210cbd077975b6538b (patch)
treee1eea745b3be0efacaf965be68a5eb9b04b56c07 /src/s_user.c
parent3083b0f2f25d772042d0b0d2bf548d9794ecef01 (diff)
- Fixed core with empty auth::spoof entries
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2351 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src/s_user.c')
-rw-r--r--src/s_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s_user.c b/src/s_user.c
index b0d347b..f7d6bd4 100644
--- a/src/s_user.c
+++ b/src/s_user.c
@@ -645,7 +645,7 @@ valid_hostname(const char *hostname)
assert(p != NULL);
- if (*p == '.' || *p == ':')
+ if (EmptyString(p) || *p == '.' || *p == ':')
return 0;
for (; *p; ++p)