Fixed a tiny bug in aliasmanager 177/head
authorJanne Koschinski <janne@kuschku.de>
Tue, 2 Feb 2016 16:50:32 +0000 (17:50 +0100)
committerJanne Koschinski <janne@kuschku.de>
Tue, 2 Feb 2016 16:50:32 +0000 (17:50 +0100)
commit0193d3cd5ad464c4cec75926970b14f9c41288a9
treef186778c99669e55fe27080f63fbda91db07a140
parentb1eb0bfaa5019e3b5a58ff8086d22c2764d6e419
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