equal
deleted
inserted
replaced
7 |
7 |
8 require "mcbot.mcbot_engine" |
8 require "mcbot.mcbot_engine" |
9 |
9 |
10 local mcabbot = {} |
10 local mcabbot = {} |
11 mcabbot.nickname = "McBot" |
11 mcabbot.nickname = "McBot" |
12 mcabbot.jid = "mcabbot@lilotux.net" |
12 mcabbot.jid = "mcbot@lilotux.net" |
13 mcabbot.cmdprefix = "%%" |
13 mcabbot.cmdprefix = "%%" |
14 |
14 |
15 local function hk_subscription (h) |
15 local function hk_subscription (h) |
16 if h.type == "subscribe" then |
16 if h.type == "subscribe" then |
17 -- Let's authorize them... |
17 -- Let's authorize them... |