X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Faliasmanager.cpp;h=cd21f9911f0fa53ad00b0df57474ed759610f267;hp=002309ded98d838241ddaa9f48242fafd4fb6f10;hb=0193d3cd5ad464c4cec75926970b14f9c41288a9;hpb=4a5065255e652dd0c301bac0db41b7afb777ef49 diff --git a/src/common/aliasmanager.cpp b/src/common/aliasmanager.cpp index 002309de..cd21f991 100644 --- a/src/common/aliasmanager.cpp +++ b/src/common/aliasmanager.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2015 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -102,6 +102,7 @@ AliasManager::AliasList AliasManager::defaults() << Alias("chanserv", "/msg chanserv $0") << Alias("hs", "/msg hostserv $0") << Alias("hostserv", "/msg hostserv $0") + << Alias("wii", "/whois $0 $0") << Alias("back", "/quote away"); #ifdef Q_OS_LINUX @@ -197,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(); }