Additional change for r844.

This commit is contained in:
Birunthan Mohanathas 2011-07-03 13:18:10 +00:00
parent 50fd8b7caf
commit 2bdca3d6da

View File

@ -224,7 +224,8 @@ void Bang(const WCHAR* command)
} }
else else
{ {
if (_wcsicmp(L"!rainmeterquit", command) != 0) if (_wcsicmp(L"!rainmeterquit", command) != 0 ||
_wcsicmp(L"!quit", command) != 0)
{ {
MessageBox(NULL, L"Rainmeter is not running.\nUnable to send the !bang to it.", L"Rainmeter", MB_OK | MB_TOPMOST | MB_ICONERROR); MessageBox(NULL, L"Rainmeter is not running.\nUnable to send the !bang to it.", L"Rainmeter", MB_OK | MB_TOPMOST | MB_ICONERROR);
} }