mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-16 07:29:23 +01:00
More idiomatic.
This commit is contained in:
parent
6b69d36628
commit
1139f2ab47
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user