Removed support for 'before read hooks' because there is no such thing.
[citadel.git] / citadel / modules / image / serv_image.c
index cec7206779dd2a52238820f424ce76dae9eef0f3..0751010d5876edf5a3ffed7507fd50886e4887af 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1987-2018 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 as published by
@@ -31,7 +31,7 @@ void cmd_dlri(char *cmdbuf)
                return;
        }
 
-       struct CtdlMessage *msg = CtdlFetchMessage(CC->room.msgnum_pic, 1, 1);
+       struct CtdlMessage *msg = CtdlFetchMessage(CC->room.msgnum_pic, 1);
        if (msg != NULL) {
                // The call to CtdlOutputPreLoadedMsg() with MT_SPEW_SECTION will cause the DLRI command
                // to have the same output format as the DLAT command, because it calls the same code.
@@ -123,7 +123,7 @@ void cmd_dlui(char *cmdbuf)
                return;
        }
 
-       struct CtdlMessage *msg = CtdlFetchMessage(ruser.msgnum_pic, 1, 1);
+       struct CtdlMessage *msg = CtdlFetchMessage(ruser.msgnum_pic, 1);
        if (msg != NULL) {
                // The call to CtdlOutputPreLoadedMsg() with MT_SPEW_SECTION will cause the DLUI command
                // to have the same output format as the DLAT command, because it calls the same code.