Again, run tests before committing.

This commit is contained in:
Jeremy Fincher 2003-04-20 17:57:16 +00:00
parent df66715089
commit 9fee5f17a9
1 changed files with 5 additions and 5 deletions

View File

@ -444,11 +444,11 @@ def nick(nick, prefix=''):
def user(ident, user, prefix=''):
"""Returns a USER with ident ident and user user."""
assert '\x00' not in user and \
'\r' not in user and \
'\n' not in user and \
' ' not in user and \
'@' not in user
assert '\x00' not in ident and \
'\r' not in ident and \
'\n' not in ident and \
' ' not in ident and \
'@' not in ident
return IrcMsg(prefix=prefix, command='USER', args=(ident, '0', '*', user))
def who(hostmaskOrChannel, prefix=''):