fixed the target buffers for queries
authorMarcus Eggenberger <egs@quassel-irc.org>
Tue, 5 Feb 2008 00:10:13 +0000 (00:10 +0000)
committerMarcus Eggenberger <egs@quassel-irc.org>
Tue, 5 Feb 2008 00:10:13 +0000 (00:10 +0000)
src/core/ircserverhandler.cpp

index a406814..09b53d3 100644 (file)
@@ -321,7 +321,7 @@ void IrcServerHandler::handlePrivmsg(QString prefix, QList<QByteArray> params) {
 
   // are we the target?
   if(network()->isMyNick(target))
 
   // are we the target?
   if(network()->isMyNick(target))
-    target = nickFromMask(target);
+    target = nickFromMask(ircuser->nick());
 
   // it's possible to pack multiple privmsgs into one param using ctcp
   // - > we let the ctcpHandler do the work
 
   // it's possible to pack multiple privmsgs into one param using ctcp
   // - > we let the ctcpHandler do the work