Skip to content

Commit

Permalink
Fix version number and config loader
Browse files Browse the repository at this point in the history
  • Loading branch information
Metric-Void committed May 25, 2020
1 parent 6cccbaf commit 1069b24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions com.metricv.pcrguild.Core/ConfigHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public static void loadConfig(CQEventArgs e) {
} else {
IniConfig iniConfig = new IniConfig(iniFile);
try {
iniConfig.Load();
iniConfig.Object["Master"].TryGetValue("MasterQQ", out IValue value);
e.CQLog.Info("Debug", value.ToString());
ConfigHandler.master_qq = value.ToInt64();
Expand Down
2 changes: 1 addition & 1 deletion com.metricv.pcrguild.Core/MessageDigestor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ private String replyRaw(String head, String cmd, long fromQQ, long fromGroup) {
sb.AppendLine(head);
if (cmd == "版本") {
sb.AppendLine("行会战计算器 by MetricVoid");
sb.AppendLine("ver. 0.0.1 - INDEV");
sb.AppendLine("ver. 1.0.0 - ALPHA");
sb.AppendLine("使用 行会战#帮助 查看帮助");
} else if (rx_addRecord.IsMatch(cmd)) {
proc_addRecord(ref sb, cmd, fromQQ, fromGroup);
Expand Down

0 comments on commit 1069b24

Please sign in to comment.