list << param;
emit putCmd(cmd, list, prefix);
}
-
-
-void CoreBasicHandler::displayMsg(Message::Type msgType, QString target, const QString &text, const QString &sender, Message::Flags flags)
-{
- IrcChannel *channel = network()->ircChannel(target);
- if (!channel) {
- if (!target.isEmpty() && network()->prefixes().contains(target[0]))
- target = target.mid(1);
-
- if (target.startsWith('$') || target.startsWith('#'))
- target = nickFromMask(sender);
- }
-
- emit displayMsg(msgType, typeByTarget(target), target, text, sender, flags);
-}