Skip to content
Snippets Groups Projects
Commit e30557cb authored by Chris Kearney's avatar Chris Kearney
Browse files

fixing a bug

parent 79dae3f5
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,9 @@ public class OpCommand extends Command {
configure(e);
try {
//ghetto and will only work for one channel bots.
if (originalMessageParts.size() <= 1) {
return;
}
originalMessageParts.remove(0);
String desiredNickNameToOp = Joiner.on(" ").join(originalMessageParts);
UserChannelDao<User, Channel> userChannelDao = gameManager.getIrcBotService().getBot().getUserChannelDao();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment