mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-07-10 06:41:23 -05:00
13 lines
232 B
Go
13 lines
232 B
Go
package gpsp
|
|
|
|
import (
|
|
"net"
|
|
"wwfc/gpcm"
|
|
"wwfc/logging"
|
|
)
|
|
|
|
func replyError(moduleName string, conn net.Conn, err gpcm.GPError) {
|
|
logging.Error(moduleName, "Reply error:", err.ErrorString)
|
|
conn.Write([]byte(err.GetMessage()))
|
|
}
|