Bug fix: Show full kick messages

This commit is contained in:
Kiooeht 2011-06-28 14:10:26 -07:00
parent 2b9afbb91d
commit 8427ea8fcc
3 changed files with 5 additions and 2 deletions

View file

@ -13,6 +13,7 @@ Features
* Show true bans? * Show true bans?
* Colour saving boxes things? * Colour saving boxes things?
* Chum notes? * Chum notes?
* whowas for last seen online?
* Remote quirk disable * Remote quirk disable
* Tab completion of two letter names * Tab completion of two letter names
* Compress exit dumps into one line (eg. FTC, CTC, PTC1-12 ceased responding to memo) * Compress exit dumps into one line (eg. FTC, CTC, PTC1-12 ceased responding to memo)
@ -28,7 +29,6 @@ Bugs
* right clicking an offline chum and choosing remove asks you why you're reporting someone, and if you hit cancel the menus stop working * right clicking an offline chum and choosing remove asks you why you're reporting someone, and if you hit cancel the menus stop working
* Closing a timeclone doesn't actually cease for everyone else * Closing a timeclone doesn't actually cease for everyone else
* Alt characters break quirks * Alt characters break quirks
* Kick messages are cut off at the first :
Windows Bugs Windows Bugs
------------ ------------

3
irc.py
View file

@ -234,6 +234,9 @@ class PesterIRC(QtCore.QThread):
h = unicode(l[0]) h = unicode(l[0])
if len(l) > 1: if len(l) > 1:
reason = unicode(l[1]) reason = unicode(l[1])
if len(l) > 2:
for x in l[2:]:
reason += unicode(":") + unicode(x)
else: else:
reason = "" reason = ""
try: try:

View file

@ -757,7 +757,7 @@ class PesterMemo(PesterConvo):
l = update.split(":") l = update.split(":")
update = l[0] update = l[0]
op = l[1] op = l[1]
reason = l[2] reason = ":".join(l[2:])
if update == "nick": if update == "nick":
l = h.split(":") l = h.split(":")
oldnick = l[0] oldnick = l[0]