Merge pull request #177 from justjanne/patch-1
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 8 Feb 2016 20:34:17 +0000 (21:34 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 8 Feb 2016 20:34:17 +0000 (21:34 +0100)
Fixed a tiny bug in aliasmanager

src/common/aliasmanager.cpp

index 05ef3c9..cd21f99 100644 (file)
@@ -198,7 +198,7 @@ void AliasManager::expand(const QString &alias, const BufferInfo &bufferInfo, co
 
     while (!expandedCommands.isEmpty()) {
         QString command;
-        if (expandedCommands[0].trimmed().toLower().startsWith("/wait")) {
+        if (expandedCommands[0].trimmed().toLower().startsWith("/wait ")) {
             command = expandedCommands.join("; ");
             expandedCommands.clear();
         }