Removed support for 'before read hooks' because there is no such thing.
[citadel.git] / citadel / modules / autocompletion / serv_autocompletion.c
index ca7c0ae426f61c32f7a971e0c481718d575532cd..0e39b643507e71106d62734f29b6709d478a572a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Autocompletion of email recipients, etc.
  *
- * Copyright (c) 1987-2015 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.
@@ -59,7 +59,7 @@ void hunt_for_autocomplete(long msgnum, char *search_string) {
        int i = 0;
        char *nnn = NULL;
 
-       msg = CtdlFetchMessage(msgnum, 1, 1);
+       msg = CtdlFetchMessage(msgnum, 1);
        if (msg == NULL) return;
 
        v = vcard_load(msg->cm_fields[eMesageText]);