Remove : from various trailing parameters (#2301)

Partial fix for #2271 

This isn't an exhaustive list, but it's everything I could find. The bug still exists in the parser though, this is just a workaround for the moment
This commit is contained in:
linuxdaemon
2019-01-30 18:46:13 -06:00
committed by Patrick
parent 7abeb10cf1
commit 804f959a1d
3 changed files with 9 additions and 5 deletions

View File

@@ -28,6 +28,8 @@
(time_t)0, /* timestamp */ \
}
#define STRIP_COLON(word, word_eol, idx) (word)[(idx)][0] == ':' ? (word_eol)[(idx)]+1 : (word)[(idx)]
/* Message tag information that might be passed along with a server message
*
* See http://ircv3.atheme.org/specification/capability-negotiation-3.1