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:
Zorchenhimer 2019-03-24 19:03:01 -04:00
parent fdbf39f00c
commit 5d10fdfea4
2 changed files with 2 additions and 4 deletions

View File

@ -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)

View File

@ -43,8 +43,6 @@ func main() {
addr = settings.ListenAddress
}
common.LogDevln("This should break things")
// A stream key was passed on the command line. Use it, but don't save
// it over the stream key in the settings.json file.
if sKey != "" {