identity = ""
separator = " > "
if sent:
- separator = " < "
- line = Line(line)
+ separator = " "
+ line = Line("< " + line)
line.sender = self.nickname
identity = self.username + "@localhost"
else:
notice("maximum number of urls to parse per message "
"reached")
break
- if "!" == msg[0]:
+ if "!" == msg[0] and len(msg) > 1:
tokens = msg[1:].split()
argument = str.join(" ", tokens[1:])
handle_command(tokens[0], argument, notice, target, self)