You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 3, 2018. It is now read-only.
Line 91 in Channel.java appears to try and ban a user by their ident, however it is getting their nick instead of their username. This can cause problems when people have different nicks from their usernames.
Line 91:
this.setMode("+b *!" + user.getNick() + "@*");
When banning foobar!Username@somehost.com in this way it will not effect the user "foobar" as it does not match his ident.
To correct this, you should either use the getUserName() method instead of the getNick() method, or change the ban string so it bans the user's nick instead:
Line 91 in Channel.java appears to try and ban a user by their ident, however it is getting their nick instead of their username. This can cause problems when people have different nicks from their usernames.
Line 91:
When banning
foobar!Username@somehost.comin this way it will not effect the user "foobar" as it does not match his ident.To correct this, you should either use the
getUserName()method instead of thegetNick()method, or change the ban string so it bans the user's nick instead: