*
* @param username
* The username to use
- * @return
+ * @return This connection
*/
public Connection username(String username) {
this.username = Optional.fromNullable(username);
*
* @param channel
* The channel to join
- * @return {@code true} if the channel was joined, {@code false} otherwise
* @throws IOException
* if an I/O error occurs
*/
} else if (command.equals("332")) {
eventBus.post(new ChannelTopic(this, parameters.get(1), parameters.get(2)));
} else if (command.equals("353")) {
- String channel = parameters.get(2);
for (String nickname : parameters.get(3).split(" ")) {
if (nickPrefixes.containsKey(nickname.substring(0, 1))) {
nicks.add(new Nickname(nickname.substring(1), nickname.substring(0, 1)));