… | |
… | |
364 | statementvar (client *, var, clients [_i]) |
364 | statementvar (client *, var, clients [_i]) |
365 | |
365 | |
366 | // returns true when the message needs special (read: perl) treatment |
366 | // returns true when the message needs special (read: perl) treatment |
367 | static inline bool |
367 | static inline bool |
368 | msg_is_special (const_any_string msg, bool nl_special = true) |
368 | msg_is_special (const_any_string msg, bool nl_special = true) |
369 | { |
369 | { |
370 | return msg [strcspn (msg, nl_special ? "<&\n" : "<&")]; |
370 | return msg [strcspn (msg, nl_special ? "<&\n" : "<&")]; |
371 | } |
371 | } |
372 | |
372 | |
373 | #endif |
373 | #endif |
374 | |
374 | |