diff --git a/modules/webadmin.cpp b/modules/webadmin.cpp index 8922b24b..ebe11af3 100644 --- a/modules/webadmin.cpp +++ b/modules/webadmin.cpp @@ -689,7 +689,7 @@ public: } if (!pNetwork->AddChan(pChan)) { - WebSock.PrintErrorPage("Could not add channel [" + pChan->GetName() + "]"); + WebSock.PrintErrorPage("Could not add channel [" + sChanName + "]"); return true; } }