1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00
This commit is contained in:
psyc://loupsycedyglgamf.onion/~lynX 2016-06-29 18:22:04 +02:00
parent 9e96208836
commit d6acc233d9

View file

@ -1190,6 +1190,12 @@ static privmsg(args, text, req) {
mixed t; mixed t;
unless (stringp(text) && strlen(text)) { unless (stringp(text) && strlen(text)) {
// somewhere in the IRC RFC it is permissible to
// send messages without a colon if they only
// contain one word. fifteen years after this code
// was originally written we encounter the first
// case of a client that actually makes use of
// that. it's called "Circe".
unless (sscanf(args, "%s %s", args, text)) return; unless (sscanf(args, "%s %s", args, text)) return;
} }
#ifdef GAMMA #ifdef GAMMA