remove blank lines
This commit is contained in:
parent
14e7d4e74e
commit
6ccdf7850e
@ -359,7 +359,6 @@ class SnoParser(callbacks.Plugin):
|
|||||||
self._sendSnotice(irc, msg, repl)
|
self._sendSnotice(irc, msg, repl)
|
||||||
|
|
||||||
if 'OPER' in text and 'Client opered up' in text:
|
if 'OPER' in text and 'Client opered up' in text:
|
||||||
|
|
||||||
operregex = "^-OPER- Client opered up \[(.*)\]"
|
operregex = "^-OPER- Client opered up \[(.*)\]"
|
||||||
couple = re.match(operregex, text)
|
couple = re.match(operregex, text)
|
||||||
account = couple.group(1)
|
account = couple.group(1)
|
||||||
@ -369,7 +368,6 @@ class SnoParser(callbacks.Plugin):
|
|||||||
self._sendSnotice(irc, msg, repl)
|
self._sendSnotice(irc, msg, repl)
|
||||||
|
|
||||||
if 'OPER' in text and 'Client deopered' in text:
|
if 'OPER' in text and 'Client deopered' in text:
|
||||||
|
|
||||||
operregex = "^-OPER- Client deopered \[(.*)\]"
|
operregex = "^-OPER- Client deopered \[(.*)\]"
|
||||||
couple = re.match(operregex, text)
|
couple = re.match(operregex, text)
|
||||||
account = couple.group(1)
|
account = couple.group(1)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user