Removed support for 'before read hooks' because there is no such thing.
[citadel.git] / citadel / modules / ctdlproto / serv_rooms.c
index d789372a3443834fee7859356a46a1ea0f6936db..ffd3037fb9dfd4018ecfa898f02a1ca9a9487bc2 100644 (file)
@@ -1,7 +1,7 @@
 /* 
  * Server functions which perform operations on room objects.
  *
- * Copyright (c) 1987-2017 by the citadel.org team
+ * Copyright (c) 1987-2020 by the citadel.org team
  *
  * This program is open source software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License, version 3.
@@ -716,7 +716,7 @@ void cmd_seta(char *new_ra)
  */
 void cmd_rinf(char *argbuf)
 {
-       struct CtdlMessage *msg = CtdlFetchMessage(CC->room.msgnum_info, 1, 1);
+       struct CtdlMessage *msg = CtdlFetchMessage(CC->room.msgnum_info, 1);
        if (msg != NULL) {
                cprintf("%d Info:\n", LISTING_FOLLOWS);
                CtdlOutputPreLoadedMsg(msg, MT_CITADEL, HEADERS_NONE, 0, 0, 0);