LunaChat v2.0.0 : Fixed issue #23.

このコミットが含まれているのは:
ucchyocean committed 2013-05-26 21:39:41 +09:00
1 親 0b39fbbef7
コミット 20fa50ad91
13ファイル変更
+256 -101

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

+5 -3
ファイルの表示
@@ -45,13 +45,13 @@ public class ChannelManager implements LunaChatAPI {
* コンストラクタ
*/
public ChannelManager() {
loadAllChannels();
loadAllData();
}
/**
* すべて読み込みする
*/
protected void loadAllChannels() {
protected void loadAllData() {
// デフォルトチャンネル設定のロード
fileDefaults = new File(
@@ -122,7 +122,9 @@ public class ChannelManager implements LunaChatAPI {
try {
YamlConfiguration config = new YamlConfiguration();
config.set("", defaultChannels);
for ( String key : defaultChannels.keySet() ) {
config.set(key, defaultChannels.get(key));
}
config.save(fileDefaults);
return true;
} catch (IOException e) {