Code typo fix 8^Y

This commit is contained in:
Kiooeht 2012-06-04 18:30:26 -07:00
parent 23fe489c26
commit 06039ada59

View file

@ -1527,7 +1527,7 @@ class PesterUserlist(QtGui.QDialog):
elif update == "left" and c == "#pesterchum": elif update == "left" and c == "#pesterchum":
self.delUser(h) self.delUser(h)
elif update == "join" and c == "#pesterchum": elif update == "join" and c == "#pesterchum":
if str(self.searchbox.text()) == "" or n.lower().find(str(self.searchbox.text()).lower()) != -1: if str(self.searchbox.text()) == "" or h.lower().find(str(self.searchbox.text()).lower()) != -1:
self.addUser(h) self.addUser(h)
def addUser(self, name): def addUser(self, name):
item = QtGui.QListWidgetItem(name) item = QtGui.QListWidgetItem(name)