defanor reported Circe client needs to be able to send single word messages without colon as suggested somewhere in the IRC RFC

This commit is contained in:
psyc://psyced.org/~lynX 2016-06-19 16:21:17 +02:00
parent c3b7b4f664
commit a68a84b924

View File

@ -1189,8 +1189,9 @@ static privmsg(args, text, req) {
string person,room; string person,room;
mixed t; mixed t;
unless (stringp(text) && strlen(text)) return; unless (stringp(text) && strlen(text)) {
unless (sscanf(args, "%s %s", args, text)) return;
}
#ifdef GAMMA #ifdef GAMMA
// fippoism typing indicator.. but shouldn't it *do* something // fippoism typing indicator.. but shouldn't it *do* something
// after detecting this CTCP-like "typing" flag hack? // after detecting this CTCP-like "typing" flag hack?