# HG changeset patch # User Mikael Berthe # Date 1177011470 -7200 # Node ID 807815928754bd3056419198e0682666b3498f31 # Parent 0ff57f0730d0b6384edbb687d0ef2dc8fd5c1f4e Allow sending a multi-line message to an agent diff -r 0ff57f0730d0 -r 807815928754 mcabber/src/commands.c --- a/mcabber/src/commands.c Fri Apr 06 23:03:55 2007 +0200 +++ b/mcabber/src/commands.c Thu Apr 19 21:37:50 2007 +0200 @@ -1121,7 +1121,8 @@ } bud = BUDDATA(current_buddy); - if (!(buddy_gettype(bud) & (ROSTER_TYPE_USER|ROSTER_TYPE_ROOM))) { + if (!(buddy_gettype(bud) & + (ROSTER_TYPE_USER|ROSTER_TYPE_AGENT|ROSTER_TYPE_ROOM))) { scr_LogPrint(LPRINT_NORMAL, "This is not a user."); goto do_msay_return; }