Remove $Id$ tags from most of webcit
[citadel.git] / webcit / addressbook_popup.c
index 13a2066e76b776b5f59b063d3404c0d492acbc8a..074801f15c0124a9e04db1d65e7b65889f37a9c9 100644 (file)
@@ -1,7 +1,21 @@
 /*
- * $Id$
- *
  * AJAX-powered auto-completion
+ *
+ * Copyright (c) 2005-2010 by the citadel.org team
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
 #include "webcit.h"
@@ -148,7 +162,7 @@ void display_address_book_inner_div() {
 
        else {
                set_room_pref("defaddrbook",NewStrBufDup(sbstr("which_addr_book")), 0);
-               saved_roomname = NewStrBufDup(WC->wc_roomname);
+               saved_roomname = NewStrBufDup(WC->CurRoom.name);
                gotoroom(sbstr("which_addr_book"));
                serv_puts("DVCA");
                serv_getln(buf, sizeof buf);