bnc.patch
quassel-0.7.2/src/core/ircserverhandler.cpp 2011-06-18 16:19:46.436097381 +0100 | ||
---|---|---|
125 | 125 | |
126 | 126 |
// Now we try to find a handler for this message. BTW, I do love the Trolltech guys ;-) |
127 | 127 |
handle(cmd, Q_ARG(QString, prefix), Q_ARG(QList<QByteArray>, params)); |
128 |
if (cmd == "001") { |
|
129 |
network()->setMyNick(_target); |
|
130 |
} |
|
128 | 131 |
} |
129 | 132 | |
130 | 133 | |
... | ... | |
390 | 393 |
? newnick |
391 | 394 |
: prefix; |
392 | 395 | |
396 |
if (network()->isMyNick(oldnick)) { |
|
397 |
network()->setMyNick(newnick); |
|
398 |
} |
|
399 | ||
393 | 400 | |
394 | 401 |
// the order is cruicial |
395 | 402 |
// otherwise the client would rename the buffer, see that the assigned ircuser doesn't match anymore |