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