Fix isSelf user checking

Other users with the same username are not self.

The fun effect of this was that I could tab-complete "june_" but not
"june".
weechat-hashes
Curtis McEnroe 2018-08-11 12:50:56 -04:00
parent a1bb27ae01
commit fec5e51d78
No known key found for this signature in database
GPG Key ID: CEA2F97ADCFCD77C
1 changed files with 0 additions and 1 deletions

View File

@ -76,7 +76,6 @@ static void shift(
static bool isSelf(const char *nick, const char *user) {
if (!user) return false;
if (!strcmp(user, self.user)) return true;
if (!strcmp(nick, self.nick)) {
if (strcmp(user, self.user)) selfUser(user);
return true;