Implemented INVITE and BAN announcing.
[silc.git] / apps / silcd / server_util.c
index 5429e4218d6e1ae62798cc2b9c214ac72834aa06..fd79ade6c64b95ba98f435a34e0e2b5396e80192 100644 (file)
@@ -1821,10 +1821,10 @@ void silc_server_inviteban_process(SilcServer server, SilcHashTable list,
   SilcHashTableList htl;
 
   SILC_LOG_DEBUG(("Processing invite/ban for %s action",
-                 action == 0x00 ? "ADD" : "DEL"));
+                 action == 0x01 ? "DEL" : "ADD"));
 
   /* Add the information to invite list */
-  if (action == 0x00) {
+  if (action == 0x00 || action == 0x03) {
     /* Traverse all arguments and add to the hash table according to
        their type. */
     tmp = silc_argument_get_first_arg(args, &type, &len);