Derp. Finished config handling

This commit is contained in:
Luke Rogers 2011-11-21 12:04:39 +13:00
parent a35b7240a4
commit 28503b4367
1 changed files with 8 additions and 5 deletions

View File

@ -12,11 +12,14 @@ if not os.path.exists('config'):
{
"connections":
{
"local irc":
"test connection":
{
"server": "localhost",
"nick": "skybot",
"channels": ["#test"]
"server": "irc.esper.net",
"nick": "cloudbot_test",
"user": "cloudbot",
"realname": "CloudBot 3/DEV",
"nickserv_password": "",
"channels": ["#mau5bot"]
}
},
"disabled_plugins": [],
@ -50,4 +53,4 @@ def config():
print 'ERROR: malformed config!', e
bot._config_mtime = 0
bot._config_mtime = 0