LunaChat v1.5.0 : Some bug fixed.

このコミットが含まれているのは:
ucchyocean committed 2013-04-29 06:21:23 +09:00
1 親 ed9dd49010
コミット 896705990d
7ファイル変更
+26 -10

検索条件に一致するファイルはありません

+3 -5
ファイルの表示
@@ -142,8 +142,7 @@ public class ChannelManager {
protected boolean save() {
try {
YamlConfiguration config =
YamlConfiguration.loadConfiguration(file);
YamlConfiguration config = new YamlConfiguration();
for ( String key : channels.keySet() ) {
Channel channel = channels.get(key);
@@ -362,11 +361,10 @@ public class ChannelManager {
* @param name 削除するチャンネル名
*/
protected void removeChannel(String name) {
if ( channels.containsKey(name) ) {
channels.remove(name);
}
Channel channel = getChannel(name);
if ( channel != null ) {
channels.remove(name);
// チャンネルのメンバーを強制解散させる
String message = String.format(Utility.replaceColorCode(
Resources.get("breakupMessage")), name);