Remove unreachable code.
This commit is contained in:
parent
ec40090cda
commit
96fdd5e769
2 changed files with 0 additions and 5 deletions
|
@ -118,7 +118,6 @@ def completion_join(self, the_input):
|
||||||
return the_input.new_completion(['/%s' % self.own_nick], 1, quotify=True)
|
return the_input.new_completion(['/%s' % self.own_nick], 1, quotify=True)
|
||||||
else:
|
else:
|
||||||
return the_input.new_completion(relevant_rooms, 1, quotify=True)
|
return the_input.new_completion(relevant_rooms, 1, quotify=True)
|
||||||
return True
|
|
||||||
|
|
||||||
|
|
||||||
def completion_version(self, the_input):
|
def completion_version(self, the_input):
|
||||||
|
@ -213,9 +212,6 @@ def completion_bind(self, the_input):
|
||||||
return the_input.new_completion(args, n, '', quotify=False)
|
return the_input.new_completion(args, n, '', quotify=False)
|
||||||
|
|
||||||
|
|
||||||
return the_input
|
|
||||||
|
|
||||||
|
|
||||||
def completion_message(self, the_input):
|
def completion_message(self, the_input):
|
||||||
"""Completion for /message"""
|
"""Completion for /message"""
|
||||||
n = the_input.get_argument_position(quoted=True)
|
n = the_input.get_argument_position(quoted=True)
|
||||||
|
|
|
@ -254,7 +254,6 @@ class Tab(object):
|
||||||
return False # There's no completion function
|
return False # There's no completion function
|
||||||
else:
|
else:
|
||||||
return command[2](the_input)
|
return command[2](the_input)
|
||||||
return True
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def execute_command(self, provided_text):
|
def execute_command(self, provided_text):
|
||||||
|
|
Loading…
Reference in a new issue