diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-03-31 14:31:45 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-03-31 14:31:45 +0000 |
commit | 2c7278c7e5ee0517be2b29a52bf717966c3a7dc0 (patch) | |
tree | 723a0edbe576a9aeafa031ffaf4e9be2c8c57c33 /src | |
parent | e9eb37bc2d15eb06ed4e1f7c12c7220364714189 (diff) |
- Forward-port -r1792 [Added SVSHOST command handler which allows services to change the
hostname of a specific user]
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1795 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src')
-rw-r--r-- | src/s_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s_user.c b/src/s_user.c index b2c7911..ddcfa83 100644 --- a/src/s_user.c +++ b/src/s_user.c @@ -658,7 +658,7 @@ valid_hostname(const char *hostname) if (!IsHostChar(*p)) return 0; - return 1; + return p - hostname <= HOSTLEN; } /* valid_username() |