ce4480e
diff -Naur quassel-0.11.1/src/core/coreuserinputhandler.cpp quassel-0.11.1.patched/src/core/coreuserinputhandler.cpp
ce4480e
--- quassel-0.11.1/src/core/coreuserinputhandler.cpp	2015-04-23 23:00:06.000000000 +0200
ce4480e
+++ quassel-0.11.1.patched/src/core/coreuserinputhandler.cpp	2015-12-15 20:21:56.170741238 +0100
ce4480e
@@ -232,7 +232,7 @@
ce4480e
     if (!isNumber || maxModes == 0) maxModes = 1;
ce4480e
 
ce4480e
     QStringList nickList;
ce4480e
-    if (nicks == "*") { // All users in channel
ce4480e
+    if (nicks == "*" && bufferInfo.type() == BufferInfo::ChannelBuffer) { // All users in channel
ce4480e
         const QList<IrcUser*> users = network()->ircChannel(bufferInfo.bufferName())->ircUsers();
ce4480e
         foreach(IrcUser *user, users) {
ce4480e
             if ((addOrRemove == '+' && !network()->ircChannel(bufferInfo.bufferName())->userModes(user).contains(mode))