changeset 631:423c24e5875a

Allow sending a message to an agent
author Mikael Berthe <mikael@lilotux.net>
date Fri, 23 Dec 2005 19:16:30 +0100
parents 713ba1932382
children cfab93886a88
files mcabber/src/commands.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/src/commands.c	Fri Dec 23 17:19:02 2005 +0100
+++ b/mcabber/src/commands.c	Fri Dec 23 19:16:30 2005 +0100
@@ -623,7 +623,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");
     return;
   }