From 4e2c90b133d4bd12f13d52a9205e904379ff75c6 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sun, 8 Nov 2015 12:51:16 -0800 Subject: [PATCH] Don't join when invited, h branding --- plugins/misc.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/plugins/misc.py b/plugins/misc.py index abd0b3c..70572c9 100644 --- a/plugins/misc.py +++ b/plugins/misc.py @@ -32,12 +32,6 @@ def rejoin(paraml, conn=None): conn.join(paraml[0]) -# join channels when invited -@hook.event('INVITE') -def invite(paraml, conn=None): - conn.join(paraml[-1]) - - @hook.event('004') def onjoin(paraml, conn=None): # identify to services @@ -65,5 +59,5 @@ def onjoin(paraml, conn=None): @hook.regex(r'^\x01VERSION\x01$') def version(inp, notice=None): ident, rev = get_version() - notice('\x01VERSION skybot %s r%d - http://github.com/rmmh/' - 'skybot/\x01' % (ident, rev)) + notice('\x01VERSION h %s - https://git.xeserv.us/xena/h' + '\x01' % ident)