Add define for mailq-view
authorWilfried Goesgens <dothebart@citadel.org>
Sat, 30 Jun 2012 12:21:42 +0000 (14:21 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Sat, 30 Jun 2012 12:21:42 +0000 (14:21 +0200)
webcit/roomops.c

index 301d83c5f55e00453403af932803054e9ee8cdbd..6325a10df7ce149f98e1ed61ecf62f3e44e66935 100644 (file)
@@ -1007,6 +1007,7 @@ void change_view(void) {
  * Set the message expire policy for this room and/or floor
  */
 void set_room_policy(void) {
+       StrBuf *Line;
 
        if (!havebstr("ok_button")) {
                AppendImportantMessage(_("Cancelled.  Changes were not saved."), -1);
@@ -1016,7 +1017,7 @@ void set_room_policy(void) {
                return;
        }
 
-       StrBuf *Line = NewStrBuf();
+       Line = NewStrBuf();
 
        serv_printf("SPEX room|%d|%d", ibstr("roompolicy"), ibstr("roomvalue"));
        StrBuf_ServGetln(Line);
@@ -1395,6 +1396,7 @@ InitModule_ROOMOPS
        REGISTERTokenParamDefine(VIEW_CALBRIEF);
        REGISTERTokenParamDefine(VIEW_JOURNAL);
        REGISTERTokenParamDefine(VIEW_BLOG);
+       REGISTERTokenParamDefine(VIEW_QUEUE);
 
        /* GNET types: */
        /* server internal, we need to know but ignore them. */