Minor stylistic updates.

This commit is contained in:
Jeremy Fincher 2003-10-04 12:57:44 +00:00
parent 8046f76b30
commit 5de5a56b4a

View File

@ -271,8 +271,8 @@ class ChannelCommands(callbacks.Privmsg):
not {op, halfop, voice} capabilities to be the value you give. not {op, halfop, voice} capabilities to be the value you give.
""" """
v = privmsgs.getArgs(args) v = privmsgs.getArgs(args)
c = ircdb.channels.getChannel(channel)
v = v.capitalize() v = v.capitalize()
c = ircdb.channels.getChannel(channel)
if v == 'True': if v == 'True':
c.setDefaultCapability(True) c.setDefaultCapability(True)
elif v == 'False': elif v == 'False':