fix: register correct handler for /xlversion

This commit is contained in:
goat 2021-12-08 00:54:09 +01:00
parent ca52a8c9e4
commit 3b0d09f1df
No known key found for this signature in database
GPG key ID: 7773BB5B43BA52E5

View file

@ -126,7 +126,7 @@ namespace Dalamud.Interface.Internal
"Change various In-Game-Addon settings like chat channels and the discord bot setup."),
});
commandManager.AddHandler("/xlversion", new CommandInfo(this.OnDebugImInfoCommand)
commandManager.AddHandler("/xlversion", new CommandInfo(this.OnVersionInfoCommand)
{
HelpMessage = "Dalamud version info",
});
@ -313,7 +313,7 @@ namespace Dalamud.Interface.Internal
Log.Information(info);
}
private void OnVersionInfo(string command, string arguments)
private void OnVersionInfoCommand(string command, string arguments)
{
var chatGui = Service<ChatGui>.Get();