1
0
mirror of https://github.com/Mikaela/Limnoria.git synced 2024-12-20 00:52:48 +01:00

More idiomatic.

This commit is contained in:
Jeremy Fincher 2004-12-07 06:44:34 +00:00
parent 6b69d36628
commit 1139f2ab47

View File

@ -508,8 +508,7 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
the default quit message (supybot.plugins.Owner.quitMsg) will be used.
If there is no default quitMsg set, your nick will be used.
"""
if not text:
text = self.registryValue('quitMsg') or msg.nick
text = text or self.registryValue('quitMsg') or msg.nick
irc.noReply()
m = ircmsgs.quit(text)
world.upkeep()