mirror of
https://github.com/znc/znc.git
synced 2026-07-04 00:41:38 +02:00
Merge branch '1.6.x'
This commit is contained in:
@@ -308,7 +308,7 @@ class CAdminMod : public CModule {
|
||||
PutModule("RealName = " + sValue);
|
||||
} else if (sVar == "bindhost") {
|
||||
if (!pUser->DenySetBindHost() || GetUser()->IsAdmin()) {
|
||||
if (sValue.Equals(GetUser()->GetBindHost())) {
|
||||
if (sValue.Equals(pUser->GetBindHost())) {
|
||||
PutModule("This bind host is already set!");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user