Webadmin: don't modify listeners if loaded as user mod
Thanks to TheLordOfTime
This commit is contained in:
1 parent
833e63fb64
commit
cf8925c930
1 file changed
+1
-1
@@ -72,7 +72,7 @@ public:
|
||||
}
|
||||
|
||||
virtual bool OnLoad(const CString& sArgStr, CString& sMessage) {
|
||||
if (sArgStr.empty())
|
||||
if (sArgStr.empty() || CModInfo::GlobalModule != GetType())
|
||||
return true;
|
||||
|
||||
// We don't accept any arguments, but for backwards
|
||||
|
||||
Reference in new issue
Block a user