From: Keith F. <ven...@us...> - 2005-01-18 23:31:46
|
Update of /cvsroot/planeshift/planeshift/src/common/paws In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4631 Modified Files: pawswidget.h Log Message: Changed msghandler->Publish to centralize a lot of the verification and error checking which used to be done in every single HandleMessage function. Now these are done in Verify, based on flags set in the Subscribe call. The validated Client is passed in to the HandleMessage function directly. I tried to keep all conditions identical to what they were, but I could have overlooked something so be aware that strange bugs could happen. Index: pawswidget.h =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/paws/pawswidget.h,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -d -r1.45 -r1.46 *** pawswidget.h 23 Dec 2004 15:54:46 -0000 1.45 --- pawswidget.h 18 Jan 2005 23:31:13 -0000 1.46 *************** *** 36,39 **** --- 36,40 ---- #include <isound/handle.h> + #include "net/cmdbase.h" #define ATTACH_LEFT 2 |