aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar jesopo2022-10-25 23:05:16 +0000
committerGravatar jesopo2022-10-25 23:05:16 +0000
commit17b563ce7524e9dd0d36b6e7b03d3e0a59a88f2f (patch)
treea3e0340dc025ab97f4bc1212960c4c56b3ec0c79
parentcorrect comments (diff)
downloadsolanum-jess/presanitise-username.tar.gz
solanum-jess/presanitise-username.tar.bz2
solanum-jess/presanitise-username.zip
-rw-r--r--ircd/hostmask.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ircd/hostmask.c b/ircd/hostmask.c
index fa8eb338..eca4e7fa 100644
--- a/ircd/hostmask.c
+++ b/ircd/hostmask.c
@@ -454,7 +454,7 @@ find_address_conf(const char *host, const char *sockhost, const char *user,
/* if no_tilde, check the username without tilde against klines too
* -- jilles */
- if(user != vuser_buf)
+ if (strcmp(user, vuser_buf))
{
kconf = find_conf_by_address(host, sockhost, NULL, ip, CONF_KILL, aftype, vuser_buf, NULL);
if(kconf)