From: Keith F. <ven...@us...> - 2004-12-31 08:06:04
|
Update of /cvsroot/planeshift/planeshift/src/server In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1135 Modified Files: guildmanager.cpp Log Message: Added null check on /guildweb url. Index: guildmanager.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/guildmanager.cpp,v retrieving revision 1.107 retrieving revision 1.108 diff -C2 -d -r1.107 -r1.108 *** guildmanager.cpp 24 Dec 2004 21:08:56 -0000 1.107 --- guildmanager.cpp 31 Dec 2004 08:05:53 -0000 1.108 *************** *** 1592,1595 **** --- 1592,1601 ---- return; + if (!msg.web_page.Length()) + { + psserver->SendSystemError(clientnum,"You did not specify anything as your url."); + return; + } + // Only update the database if the value is really being changed. if (msg.web_page != guild->web_page ) |