diff options
| author | 2022-10-25 23:05:16 +0000 | |
|---|---|---|
| committer | 2022-10-25 23:05:16 +0000 | |
| commit | 17b563ce7524e9dd0d36b6e7b03d3e0a59a88f2f (patch) | |
| tree | a3e0340dc025ab97f4bc1212960c4c56b3ec0c79 | |
| parent | correct comments (diff) | |
| download | solanum-jess/presanitise-username.tar.gz solanum-jess/presanitise-username.tar.bz2 solanum-jess/presanitise-username.zip | |
strcmp jess/presanitise-username
| -rw-r--r-- | ircd/hostmask.c | 2 |
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) |
