mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
ircmsgs.IrcMsg: Display args in case of AssertionError.
This commit is contained in:
parent
58befaee5c
commit
ba6e2fff6f
@ -130,7 +130,7 @@ class IrcMsg(object):
|
|||||||
else:
|
else:
|
||||||
self.prefix = prefix
|
self.prefix = prefix
|
||||||
self.command = command
|
self.command = command
|
||||||
assert all(ircutils.isValidArgument, args)
|
assert all(ircutils.isValidArgument, args), args
|
||||||
self.args = args
|
self.args = args
|
||||||
self.args = tuple(self.args)
|
self.args = tuple(self.args)
|
||||||
if isUserHostmask(self.prefix):
|
if isUserHostmask(self.prefix):
|
||||||
|
Loading…
Reference in New Issue
Block a user