ah
This commit is contained in:
parent
156f7e8f95
commit
8ffcccba57
|
@ -48,7 +48,7 @@ func IntialiseClient() {
|
||||||
|
|
||||||
addCommands()
|
addCommands()
|
||||||
|
|
||||||
if len(StaticClient.Commands) < len(StaticClient.GetRegisteredCommands()) {
|
if len(StaticClient.Commands) != len(StaticClient.GetRegisteredCommands()) {
|
||||||
StaticClient.UnregisterCommands()
|
StaticClient.UnregisterCommands()
|
||||||
StaticClient.RegisterCommands()
|
StaticClient.RegisterCommands()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user