Don't join when invited, h branding
This commit is contained in:
parent
7e3e11fb3b
commit
4e2c90b133
|
@ -32,12 +32,6 @@ def rejoin(paraml, conn=None):
|
||||||
conn.join(paraml[0])
|
conn.join(paraml[0])
|
||||||
|
|
||||||
|
|
||||||
# join channels when invited
|
|
||||||
@hook.event('INVITE')
|
|
||||||
def invite(paraml, conn=None):
|
|
||||||
conn.join(paraml[-1])
|
|
||||||
|
|
||||||
|
|
||||||
@hook.event('004')
|
@hook.event('004')
|
||||||
def onjoin(paraml, conn=None):
|
def onjoin(paraml, conn=None):
|
||||||
# identify to services
|
# identify to services
|
||||||
|
@ -65,5 +59,5 @@ def onjoin(paraml, conn=None):
|
||||||
@hook.regex(r'^\x01VERSION\x01$')
|
@hook.regex(r'^\x01VERSION\x01$')
|
||||||
def version(inp, notice=None):
|
def version(inp, notice=None):
|
||||||
ident, rev = get_version()
|
ident, rev = get_version()
|
||||||
notice('\x01VERSION skybot %s r%d - http://github.com/rmmh/'
|
notice('\x01VERSION h %s - https://git.xeserv.us/xena/h'
|
||||||
'skybot/\x01' % (ident, rev))
|
'\x01' % ident)
|
||||||
|
|
Loading…
Reference in New Issue