Refactor code for readability and compatibility.
This commit is contained in:
parent
a09835049b
commit
c6d9c0619e
43 changed files with 129 additions and 112 deletions
|
|
@ -79,6 +79,7 @@ class ChannelCommand(command.Command):
|
|||
try:
|
||||
self.history_start = int(arg) if arg else 0
|
||||
except ValueError:
|
||||
# if no valid number was given, ignore it
|
||||
pass
|
||||
self.args = (channelname.strip(), msg.strip())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue