Skip to content
Browse files

Be able to remove servers using webadmin.

Thanks for appel for reporting this.
  • Loading branch information...
1 parent 355f196 commit cf49449dde06a082b93e048953e3798f72f22192 Alexey Sokolov committed Oct 30, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 modules/webadmin.cpp
View
1 modules/webadmin.cpp
@@ -734,6 +734,7 @@ class CWebAdminMod : public CModule {
VCString vsArgs;
+ pNetwork->DelServers();
WebSock.GetRawParam("servers").Split("\n", vsArgs);
for (unsigned int a = 0; a < vsArgs.size(); a++) {
pNetwork->AddServer(vsArgs[a].Trim_n());

0 comments on commit cf49449

Please sign in to comment.
Something went wrong with that request. Please try again.