Skip to content

Commit

Permalink
LunaChat v2.6.12 : Fixed issue #113
Browse files Browse the repository at this point in the history
  • Loading branch information
ucchyocean committed Dec 6, 2014
1 parent f7d710c commit 6e0e815
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.ucchyocean</groupId>
<artifactId>LunaChat</artifactId>
<version>2.6.11</version>
<version>2.6.12</version>
<description>チャンネルチャットプラグイン</description>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ public boolean runCommand(CommandSender sender, String label, String[] args) {
channel.addMember(cp);
sendResourceMessage(sender, PREINFO, "cmdmsgJoin", channel.getName());

// デフォルトの発言先に設定する
api.setDefaultChannel(player.getName(), channelName);
sendResourceMessage(sender, PREINFO, "cmdmsgSet", channelName);

return true;
}
}

0 comments on commit 6e0e815

Please sign in to comment.