mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Slight style corrections.
This commit is contained in:
parent
d8b1ce35c7
commit
20fddb4c5d
@ -121,7 +121,7 @@ class Admin(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
try:
|
try:
|
||||||
del self.joins[msg.args[0]]
|
del self.joins[msg.args[0]]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
s = 'Joined a channel without Admin.join being called'
|
s = 'Joined a channel without Admin.join being called.'
|
||||||
self.log.debug(s)
|
self.log.debug(s)
|
||||||
|
|
||||||
def doInvite(self, irc, msg):
|
def doInvite(self, irc, msg):
|
||||||
@ -129,7 +129,7 @@ class Admin(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
if channel not in irc.state.channels:
|
if channel not in irc.state.channels:
|
||||||
if conf.supybot.alwaysJoinOnInvite() or \
|
if conf.supybot.alwaysJoinOnInvite() or \
|
||||||
ircdb.checkCapability(msg.prefix, 'admin'):
|
ircdb.checkCapability(msg.prefix, 'admin'):
|
||||||
self.log.info('Invited to %s by %s', channel, msg.prefix)
|
self.log.info('Invited to %s by %s.', channel, msg.prefix)
|
||||||
irc.queueMsg(ircmsgs.join(channel))
|
irc.queueMsg(ircmsgs.join(channel))
|
||||||
conf.supybot.channels().add(channel)
|
conf.supybot.channels().add(channel)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user