Returns the prefix of the user. If the User object has been obtained
from a list of users in a channel, then this will reflect the user's
status in that channel.
Returns:
The prefix of the user. If there is no prefix, then an empty
String is returned.
isOp
public boolean isOp()
Returns whether or not the user represented by this object is an
operator. If the User object has been obtained from a list of users
in a channel, then this will reflect the user's operator status in
that channel.
Returns:
true if the user is an operator in the channel.
hasVoice
public boolean hasVoice()
Returns whether or not the user represented by this object has
voice. If the User object has been obtained from a list of users
in a channel, then this will reflect the user's voice status in
that channel.
Returns true if the nick represented by this User object is the same
as the nick of the User object given as an argument.
A case insensitive comparison is made.