upgrade irctokens
This commit is contained in:
parent
c0b22809ea
commit
9aafeb87fd
|
@ -1,2 +1,2 @@
|
||||||
tracery==0.1.1
|
tracery==0.1.1
|
||||||
irctokens==0.5.1
|
irctokens==0.7.0
|
||||||
|
|
|
@ -117,9 +117,8 @@ def send(chan, msg):
|
||||||
def think(line):
|
def think(line):
|
||||||
chan = line.params.pop(0)
|
chan = line.params.pop(0)
|
||||||
words = line.params[0].split(" ")
|
words = line.params[0].split(" ")
|
||||||
nick = irctokens.Hostmask(line.source).nickname
|
|
||||||
|
|
||||||
if len(words) > 0 and nick != bot["nick"]:
|
if len(words) > 0 and line.hostmask.nickname != bot["nick"]:
|
||||||
if words[0] == "!!list":
|
if words[0] == "!!list":
|
||||||
res = ""
|
res = ""
|
||||||
for k in DB:
|
for k in DB:
|
||||||
|
|
Loading…
Reference in New Issue