diff options
-rw-r--r-- | chatcommands.go | 6 | ||||
-rw-r--r-- | go.mod | 8 | ||||
-rw-r--r-- | go.sum | 8 |
3 files changed, 21 insertions, 1 deletions
diff --git a/chatcommands.go b/chatcommands.go index 568d1eb..449ba88 100644 --- a/chatcommands.go +++ b/chatcommands.go @@ -1,6 +1,10 @@ package main -func HandleChatCmd(cmd string, args []string) bool { +import ( + "github.com/HimbeerserverDE/mt-multiserver-proxy" +) + +func HandleChatCmd(cc *proxy.ClientConn, cmd string, args []string) bool { switch cmd { default: return false @@ -1,3 +1,11 @@ module github.com/HimbeerserverDE/mt-multiserver-chatcommands go 1.17 + +require github.com/HimbeerserverDE/mt-multiserver-proxy v0.0.0-20210905171927-1de8660e9d4c + +require ( + github.com/HimbeerserverDE/srp v0.0.0-20210331172529-2b5dbec6b82b // indirect + github.com/anon55555/mt v0.0.0-20210623155243-152b6697e62c // indirect + github.com/mattn/go-sqlite3 v1.14.8 // indirect +) @@ -0,0 +1,8 @@ +github.com/HimbeerserverDE/mt-multiserver-proxy v0.0.0-20210905171927-1de8660e9d4c h1:cFKwv7TClwfq4mtRDGTWAcZtBATZSiMkgoRlGwSsKVY= +github.com/HimbeerserverDE/mt-multiserver-proxy v0.0.0-20210905171927-1de8660e9d4c/go.mod h1:8xnFy8wsJTDIUkMExnTq5fdiUNbnL6udwytjRM6woDw= +github.com/HimbeerserverDE/srp v0.0.0-20210331172529-2b5dbec6b82b h1:xqNC1S76U5U+eFyzr5Ld+8aPOLaDFCw6f1uddjui+h8= +github.com/HimbeerserverDE/srp v0.0.0-20210331172529-2b5dbec6b82b/go.mod h1:pxNH8S2nh4n2DWE0ToX5GnnDr/uEAuaAhJsCpkDLIWw= +github.com/anon55555/mt v0.0.0-20210623155243-152b6697e62c h1:+T4M4zm8QMMnH56jopsKcCBxItSsb6jtulB3ZKFYETU= +github.com/anon55555/mt v0.0.0-20210623155243-152b6697e62c/go.mod h1:jH4ER+ahjl7H6TczzK+q4V9sXY++U2Geh6/vt3r4Xvs= +github.com/mattn/go-sqlite3 v1.14.8 h1:gDp86IdQsN/xWjIEmr9MF6o9mpksUgh0fu+9ByFxzIU= +github.com/mattn/go-sqlite3 v1.14.8/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= |