From 79b3f3d013583109fcf4a09cb6e06a94da09d17a Mon Sep 17 00:00:00 2001
From: Eike Hein <hein@kde.org>
Date: Wed, 16 Apr 2014 23:05:30 +0200
Subject: [PATCH 11/23] Fix wildcard expansion in command alias replacements.
---
ChangeLog | 6 +++++-
src/irc/channel.cpp | 2 +-
src/irc/query.cpp | 2 +-
src/viewer/statuspanel.cpp | 2 +-
4 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/irc/channel.cpp b/src/irc/channel.cpp
index 6911473..594630e 100644
--- a/src/irc/channel.cpp
+++ b/src/irc/channel.cpp
@@ -790,7 +790,7 @@ void Channel::sendText(const QString& sendLine)
QString outputAll(sendLine);
// replace aliases and wildcards
- m_server->getOutputFilter()->replaceAliases(outputAll);
+ m_server->getOutputFilter()->replaceAliases(outputAll, this);
// Send all strings, one after another
QStringList outList = outputAll.split(QRegExp("[\r\n]+"), QString::SkipEmptyParts);
diff --git a/src/irc/query.cpp b/src/irc/query.cpp
index e5d271f..feed704 100644
--- a/src/irc/query.cpp
+++ b/src/irc/query.cpp
@@ -233,7 +233,7 @@ void Query::sendText(const QString& sendLine)
QString outputAll(sendLine);
// replace aliases and wildcards
- m_server->getOutputFilter()->replaceAliases(outputAll);
+ m_server->getOutputFilter()->replaceAliases(outputAll, this);
// Send all strings, one after another
QStringList outList = outputAll.split('\n', QString::SkipEmptyParts);
diff --git a/src/viewer/statuspanel.cpp b/src/viewer/statuspanel.cpp
index a021dce..ef1f1da 100644
--- a/src/viewer/statuspanel.cpp
+++ b/src/viewer/statuspanel.cpp
@@ -98,7 +98,7 @@ void StatusPanel::sendText(const QString& sendLine)
QString outputAll(sendLine);
// replace aliases and wildcards
- m_server->getOutputFilter()->replaceAliases(outputAll);
+ m_server->getOutputFilter()->replaceAliases(outputAll, this);
// Send all strings, one after another
QStringList outList=outputAll.split('\n');
--
1.9.3