bump cvmsharp, log cvmsharp errors
This commit is contained in:
parent
998c710a8e
commit
4027472d9e
2 changed files with 2 additions and 1 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit 7f0dc175909c13c42b987e6ee1ab9fee638df2aa
|
Subproject commit b02e9677617d02a24ef60371e35fa0a9852e7c17
|
|
@ -42,6 +42,7 @@ public class VM
|
||||||
this.cvm.ConnectionClosed += CvmOnConnectionClosed;
|
this.cvm.ConnectionClosed += CvmOnConnectionClosed;
|
||||||
this.cvm.UserRenamed += (_, e) => CheckUsername(e.User);
|
this.cvm.UserRenamed += (_, e) => CheckUsername(e.User);
|
||||||
this.cvm.UserJoined += (_, e) => CheckUsername(e);
|
this.cvm.UserJoined += (_, e) => CheckUsername(e);
|
||||||
|
this.cvm.Error += (_, e) => Utilities.Log(LogLevel.ERROR, $"[{this.Config.Name}] {e}");
|
||||||
this.cvm.RegisterCommand("+quote", QuoteCommand);
|
this.cvm.RegisterCommand("+quote", QuoteCommand);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue