Fixed a tiny bug in aliasmanager
authorJanne Koschinski <janne@kuschku.de>
Tue, 2 Feb 2016 16:50:32 +0000 (17:50 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 8 Feb 2016 21:30:29 +0000 (22:30 +0100)
commitc732a2ff7bfab58d7fecb1771b10bc54cd3ff0c1
treee99f72b2c3ac21f7e00cebbec64b82e01a980277
parentb0bb7ec5c0a40a000b6e6bc7378df4ec61cca182
Fixed a tiny bug in aliasmanager

The `/wait` check is to test if the first command is a `/wait`, which would operate synchronously.
But `/wait` matches also on other commands – so, if, for example, we’d have a command like `/waiting`, it would be matched.
Instead we actually want to match on `/wait ` (with space at the end).
src/common/aliasmanager.cpp