Make sure OnStatusCommand() is always called when it should be
We didn't call the module hook for commands executed via /znc instead of /msg *status. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1562 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
1 parent
b25e65dbb6
commit
b03bc3cac9
3 files changed
+4
-3
No files matched your search
@@ -517,7 +517,6 @@ void CClient::ReadLine(const CString& sData) {
|
||||
|
||||
if (sTarget.TrimPrefix(m_pUser->GetStatusPrefix())) {
|
||||
if (sTarget.Equals("status")) {
|
||||
MODULECALL(OnStatusCommand(sMsg), m_pUser, this, return);
|
||||
UserCommand(sMsg);
|
||||
} else {
|
||||
#ifdef _MODULES
|
||||
|
||||
Reference in new issue
Block a user