From a68a84b9248ac3865d98c86397df3d4451905f61 Mon Sep 17 00:00:00 2001 From: "psyc://psyced.org/~lynX" <@> Date: Sun, 19 Jun 2016 16:21:17 +0200 Subject: [PATCH] defanor reported Circe client needs to be able to send single word messages without colon as suggested somewhere in the IRC RFC --- world/net/irc/user.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/world/net/irc/user.c b/world/net/irc/user.c index c6ac557..b136fe9 100644 --- a/world/net/irc/user.c +++ b/world/net/irc/user.c @@ -1189,8 +1189,9 @@ static privmsg(args, text, req) { string person,room; mixed t; - unless (stringp(text) && strlen(text)) return; - + unless (stringp(text) && strlen(text)) { + unless (sscanf(args, "%s %s", args, text)) return; + } #ifdef GAMMA // fippoism typing indicator.. but shouldn't it *do* something // after detecting this CTCP-like "typing" flag hack?