You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think, there may be cases where CTCP is not correctly recognized. More specifically, if the CTCP message follows a normal text message (or is embedded in it).
Furthermore, it should be possible to send multiple CTCP messages (chained together). A check for CTCP should therefore
(1) check for CTCP_DELIMITER and if found
(2) check/extract all CTCP messages.
(3) handle CTCP messages/handle remaining text messages (if available)
I'm not sure how CTCP (aside from DCC) occurs in the wild but the current approach may not work for all cases.
The text was updated successfully, but these errors were encountered:
Basically no client implements the original CTCP spec. The only real potential case where it doesn't catch current usage is where message splitting results in the last character not being the delimiter any more.
https://github.com/Shizmob/pydle/blob/60ede96669d77e86b8ee264ebc21ab669418fb7b/pydle/features/ctcp.py#L102
I think, there may be cases where CTCP is not correctly recognized. More specifically, if the CTCP message follows a normal text message (or is embedded in it).
see example 3 in http://www.irchelp.org/protocol/ctcpspec.html
Furthermore, it should be possible to send multiple CTCP messages (chained together). A check for CTCP should therefore
(1) check for
CTCP_DELIMITER
and if found(2) check/extract all CTCP messages.
(3) handle CTCP messages/handle remaining text messages (if available)
I'm not sure how CTCP (aside from DCC) occurs in the wild but the current approach may not work for all cases.
The text was updated successfully, but these errors were encountered: