Fixed default channel setting

This commit is contained in:
Matthieu Grieger 2014-09-24 16:08:01 -07:00
parent bc16486903
commit 3f021be8e7

View file

@ -14,7 +14,7 @@ local song_queue = require("song_queue")
function piepan.onConnect()
print(piepan.me.name .. " has connected to the server!")
local user = piepan.users[piepan.me.name]
local channel = user.channel("Bot Testing")
local channel = user.channel(config.DEFAULT_CHANNEL)
piepan.me:moveTo(channel)
end