From ec8011347cf4e3b827dcaeba1ebd2ccddf3e550f Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 2 Jun 2003 07:21:08 +0000 Subject: [PATCH] Fixed bug in Channel. --- src/irclib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/irclib.py b/src/irclib.py index 4ccc5f1f2..551c08d02 100644 --- a/src/irclib.py +++ b/src/irclib.py @@ -157,7 +157,7 @@ class Channel(object): def addUser(self, user): nick = user.lstrip('@%+') - while user[0] in '@%+': + while user and user[0] in '@%+': (marker, user) = (user[0], user[1:]) if marker == '@': self.ops.add(nick)