Merge pull request #168 from esainane/irssi-msg-escape
[quassel.git] / src / common / aliasmanager.cpp
index 9e6602a..fceb7b4 100644 (file)
@@ -201,7 +201,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();
         }