mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
Warn when we get flood protection notices
This commit is contained in:
parent
c79300f588
commit
9d4895c8d4
1 changed files with 2 additions and 0 deletions
|
@ -302,6 +302,8 @@ def IRCLoop(on_idle,on_identified,on_command):
|
||||||
#----------------------------- Actions -----------------------------------#
|
#----------------------------- Actions -----------------------------------#
|
||||||
try:
|
try:
|
||||||
if action == 'NOTICE':
|
if action == 'NOTICE':
|
||||||
|
if text.find ('throttled due to flooding') >= 0:
|
||||||
|
log_warn('Flood protection kicked in, outgoing messages lost')
|
||||||
if who == "NickServ!NickServ@services.":
|
if who == "NickServ!NickServ@services.":
|
||||||
#if text.find('Information on ') != -1:
|
#if text.find('Information on ') != -1:
|
||||||
# ns_nick = text.split(' ')[2].strip("\002")
|
# ns_nick = text.split(' ')[2].strip("\002")
|
||||||
|
|
Loading…
Reference in a new issue