forked from Firepup650/FireBot
Bandaid
This commit is contained in:
parent
0199f25821
commit
69d601042e
1 changed files with 5 additions and 0 deletions
|
@ -274,6 +274,11 @@ def main():
|
|||
else:
|
||||
print(raw.lazy_decode(), sep="\n")
|
||||
if ircmsg.find("PRIVMSG") != -1:
|
||||
try:
|
||||
ircmsg.split("PRIVMSG", 1)[1]
|
||||
except IndexError:
|
||||
log("Fake message recieved", server, "WARN")
|
||||
continue
|
||||
# Format of ":[Nick]![ident]@[host|vhost] PRIVMSG [channel] :[message]”
|
||||
name = ircmsg.split("!", 1)[0][1:]
|
||||
helpErr = False
|
||||
|
|
Loading…
Reference in a new issue