ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/client.h
(Generate patch)

Comparing deliantra/server/include/client.h (file contents):
Revision 1.77 by root, Tue May 6 16:55:25 2008 UTC vs.
Revision 1.78 by root, Thu May 8 20:03:50 2008 UTC

409 409
410#define for_all_clients(var) \ 410#define for_all_clients(var) \
411 for (int _i = 0; _i < clients.size (); ++_i) \ 411 for (int _i = 0; _i < clients.size (); ++_i) \
412 statementvar (client *, var, clients [_i]) 412 statementvar (client *, var, clients [_i])
413 413
414// returns true when the message needs special (read: perl) treatment
415static inline bool
416msg_is_special (const char *msg, bool nl_special = true)
417{
418 return msg [strcspn (msg, nl_special ? "<[&\n" : "<[&")];
419}
420
414#endif 421#endif
415 422

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines