minor comment cleanup so pycharm highlights it
This commit is contained in:
parent
34c73fccf9
commit
e7de9f840d
@ -450,8 +450,7 @@ class IRCBot(irc.client.SimpleIRCClient):
|
|||||||
splitter = "..."
|
splitter = "..."
|
||||||
|
|
||||||
# split messages that are too long. Max length is 512.
|
# split messages that are too long. Max length is 512.
|
||||||
# TODO: this does not properly handle when the nickmask has been
|
# TODO: this does not properly handle when the nickmask has been masked by the ircd
|
||||||
# masked by the ircd
|
|
||||||
# is the above still the case?
|
# is the above still the case?
|
||||||
space = 512 - len('\r\n') - len(' PRIVMSG ') - len(target) - len(' :') - len(self.nickmask) - len(' :')
|
space = 512 - len('\r\n') - len(' PRIVMSG ') - len(target) - len(' :') - len(self.nickmask) - len(' :')
|
||||||
splitspace = space - (len(splitter) + 1)
|
splitspace = space - (len(splitter) + 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user