mirror of
https://github.com/znc/znc.git
synced 2026-05-08 06:14:40 +02:00
Merge commit 'refs/pull/422/head' of github.com:znc/znc
This commit is contained in:
@@ -741,10 +741,11 @@ class CAdminMod : public CModule {
|
||||
return;
|
||||
}
|
||||
|
||||
if (pUser->AddNetwork(sNetwork)) {
|
||||
CString sNetworkAddError;
|
||||
if (pUser->AddNetwork(sNetwork, sNetworkAddError)) {
|
||||
PutModule("Network [" + sNetwork + "] added for user [" + pUser->GetUserName() + "].");
|
||||
} else {
|
||||
PutModule("Network [" + sNetwork + "] could not be added for user [" + pUser->GetUserName() + "].");
|
||||
PutModule("Network [" + sNetwork + "] could not be added for user [" + pUser->GetUserName() + "]: " + sNetworkAddError);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user