projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'configdb' of ssh://git.citadel.org/appl/gitroot/citadel
[citadel.git]
/
citadel
/
modules
/
ctdlproto
/
serv_messages.c
diff --git
a/citadel/modules/ctdlproto/serv_messages.c
b/citadel/modules/ctdlproto/serv_messages.c
index 2bb50633fd2e2dfb6f66eba69b3715377f4498a2..31e48cb8c3077409ae9827f84b303e51208dd267 100644
(file)
--- a/
citadel/modules/ctdlproto/serv_messages.c
+++ b/
citadel/modules/ctdlproto/serv_messages.c
@@
-1,7
+1,7
@@
/*
* represent messages to the citadel clients
*
/*
* represent messages to the citadel clients
*
- * Copyright (c) 1987-201
2
by the citadel.org team
+ * Copyright (c) 1987-201
5
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.
*
* 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.
@@
-20,11
+20,11
@@
#include "internet_addressing.h"
#include "user_ops.h"
#include "room_ops.h"
#include "internet_addressing.h"
#include "user_ops.h"
#include "room_ops.h"
+#include "config.h"
extern char *msgkeys[];
extern char *msgkeys[];
-
/*
* Back end for the MSGS command: output message number only.
*/
/*
* Back end for the MSGS command: output message number only.
*/
@@
-34,7
+34,6
@@
void simple_listing(long msgnum, void *userdata)
}
}
-
/*
* Back end for the MSGS command: output header summary.
*/
/*
* Back end for the MSGS command: output header summary.
*/
@@
-137,7
+136,7
@@
void cmd_msgs(char *cmdbuf)
else
mode = MSGS_ALL;
else
mode = MSGS_ALL;
- if ( (mode == MSGS_SEARCH) && (!
config.c_enable_fulltext
) ) {
+ if ( (mode == MSGS_SEARCH) && (!
CtdlGetConfigInt("c_enable_fulltext")
) ) {
cprintf("%d Full text index is not enabled on this server.\n",
ERROR + CMD_NOT_SUPPORTED);
return;
cprintf("%d Full text index is not enabled on this server.\n",
ERROR + CMD_NOT_SUPPORTED);
return;