X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Faliasmanager.cpp;h=cd21f9911f0fa53ad00b0df57474ed759610f267;hp=51f4af731242fb0bdc3a2bd148131b261a867d77;hb=0193d3cd5ad464c4cec75926970b14f9c41288a9;hpb=694f9bfbf7f1af19108461c7e00d133e55082bce diff --git a/src/common/aliasmanager.cpp b/src/common/aliasmanager.cpp index 51f4af73..cd21f991 100644 --- a/src/common/aliasmanager.cpp +++ b/src/common/aliasmanager.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-09 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 * @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #include @@ -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(); }