X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Froomlist.c;h=46600f9a8c2bf998a30d04e632cb34e07a7dd37a;hp=d52351a23409d6f35cc598784ef0a0596ae3eb9a;hb=23f67881c0c0de5092ea849c5469b8601ce31ee4;hpb=b20ff05a306e9acd3d34eea17cfc67b1c33e6ba3 diff --git a/webcit/roomlist.c b/webcit/roomlist.c index d52351a23..46600f9a8 100644 --- a/webcit/roomlist.c +++ b/webcit/roomlist.c @@ -7,7 +7,6 @@ HashList *GetWhoKnowsHash(StrBuf *Target, WCTemplputParams *TP) { - wcsession *WCC = WC; StrBuf *Line; StrBuf *Token; long State; @@ -42,8 +41,7 @@ HashList *GetWhoKnowsHash(StrBuf *Target, WCTemplputParams *TP) } } else if (State == 550) - StrBufAppendBufPlain(WCC->ImportantMsg, - _("Higher access is required to access this function."), -1, 0); + AppendImportantMessage(_("Higher access is required to access this function."), -1); FreeStrBuf(&Line); @@ -387,8 +385,7 @@ HashList *GetNetConfigHash(StrBuf *Target, WCTemplputParams *TP) } } else if (State == 550) - StrBufAppendBufPlain(WCC->ImportantMsg, - _("Higher access is required to access this function."), -1, 0); + AppendImportantMessage(_("Higher access is required to access this function."), -1); return WCC->CurRoom.IgnetCfgs[WantThisOne];