Forgot to remove a DevLogLn(), and two fixes
Good news, it breaks Travis like it's supposed to! I also forgot to add the `common` namespace during a rebase. Whoops. Resolves #46
This commit is contained in:
parent
fdbf39f00c
commit
5d10fdfea4
@ -24,10 +24,10 @@ type Client struct {
|
||||
func (cl *Client) NewMsg(data common.ClientData) {
|
||||
switch data.Type {
|
||||
case common.CdAuth:
|
||||
LogChatf("[chat|hidden] <%s> get auth level\n", cl.name)
|
||||
common.LogChatf("[chat|hidden] <%s> get auth level\n", cl.name)
|
||||
err := cl.SendChatData(common.NewChatHiddenMessage(data.Type, cl.CmdLevel))
|
||||
if err != nil {
|
||||
LogErrorf("Error sending auth level to client: %v\n", err)
|
||||
common.LogErrorf("Error sending auth level to client: %v\n", err)
|
||||
}
|
||||
case common.CdUsers:
|
||||
common.LogChatf("[chat|hidden] <%s> get list of users\n", cl.name)
|
||||
|
Loading…
Reference in New Issue
Block a user