mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
@@ -700,6 +700,13 @@ public:
|
||||
}
|
||||
}
|
||||
} else {
|
||||
#ifndef ENABLE_ADD_NETWORK
|
||||
if (!spSession->IsAdmin()) {
|
||||
WebSock.PrintErrorPage("Permission denied");
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
Tmpl["Action"] = "addnetwork";
|
||||
Tmpl["Title"] = "Add Network for User [" + pUser->GetUserName() + "]";
|
||||
Tmpl["IRCConnectEnabled"] = "true";
|
||||
|
||||
Reference in New Issue
Block a user