* Fixed a bug
authorArt Cancro <ajc@citadel.org>
Sat, 8 Jan 2000 23:00:04 +0000 (23:00 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 8 Jan 2000 23:00:04 +0000 (23:00 +0000)
citadel/internet_addressing.c

index 0068ee32f8ea2f314ada53d5cdb8bbb3f001f7b8..53067543a51bc29608d58e1fbb7cc92fdf2cd1ac 100644 (file)
@@ -240,6 +240,7 @@ int convert_internet_address(char *destuser, char *desthost, char *source)
        char user[256];
        char node[256];
        char name[256];
+       struct quickroom qrbuf;
 
        /* Split it up */
        process_rfc822_addr(source, user, node, name);
@@ -256,6 +257,12 @@ int convert_internet_address(char *destuser, char *desthost, char *source)
         * FIX ... do the multiple-addresses thing
         */
        if (!strcasecmp(node, config.c_nodename)) {
+               /* Try all local rooms */
+               if (!strncasecmp(destuser, "room_", 5)) {
+                       /* FIX do this here */
+               }
+
+               /* Try all local users */
                strcpy(destuser, user);
                strcpy(desthost, config.c_nodename);
                strcpy(CC->buffer1, user);