Slight style corrections.

This commit is contained in:
Jeremy Fincher 2004-08-18 23:43:06 +00:00
parent d8b1ce35c7
commit 20fddb4c5d

View File

@ -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)