Skip to content
This repository has been archived by the owner on Jul 27, 2019. It is now read-only.

Commit

Permalink
Save mute list
Browse files Browse the repository at this point in the history
  • Loading branch information
cnaude committed Mar 26, 2015
1 parent c9b245c commit ec25a37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/cnaude/purpleirc/PurpleBot.java
Expand Up @@ -427,6 +427,7 @@ public void unMute(String channelName, CommandSender sender, String user) {
if (muteList.get(channelName).contains(user)) {
sender.sendMessage("User '" + user + "' is no longer muted.");
muteList.get(channelName).remove(user);
config.set("channels." + encodeChannel(getConfigChannelName(channelName)) + ".muted", muteList.get(channelName));
saveConfig();
} else {
sender.sendMessage("User '" + user + "' is not muted.");
Expand Down

0 comments on commit ec25a37

Please sign in to comment.