mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +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.
|
the default quit message (supybot.plugins.Owner.quitMsg) will be used.
|
||||||
If there is no default quitMsg set, your nick will be used.
|
If there is no default quitMsg set, your nick will be used.
|
||||||
"""
|
"""
|
||||||
if not text:
|
text = text or self.registryValue('quitMsg') or msg.nick
|
||||||
text = self.registryValue('quitMsg') or msg.nick
|
|
||||||
irc.noReply()
|
irc.noReply()
|
||||||
m = ircmsgs.quit(text)
|
m = ircmsgs.quit(text)
|
||||||
world.upkeep()
|
world.upkeep()
|
||||||
|
Loading…
Reference in New Issue
Block a user