#define SQL_USER (options.sql_username)
#define SQL_PASS (options.sql_password)
#endif
-#ifdef _SWMP_
-#define SQLCMD_MasterRoom (options.sql_master)
-#endif
#define CHUNK_SWAP_FILE (options.chunk_swap_file)
#define CHUNK_CACHE_MEMORY (options.chunk_cache_memory)
extern char *wenv[10], renv[NUMQ][BUFFER_LEN];
extern char *wnxt[10], *rnxt[NUMQ];
*/
-#ifdef _SWMP_
-extern int sql_env[2]; /* Sql Environment */
-#endif
extern void do_second(void);
extern int do_top(int ncom);
extern void do_halt(dbref owner, const char *ncom, dbref victim);
/* Standard PennMUSH chat system. Allows user to talk cross-MUSH
* to each other, without needing to be in the same room. Wether or
* not you want this depends on what type of MUSH you want.
+ * **RECOMMENDED NOT TO ENABLE THIS DURING 0.80 DEVELOPMENT!**
*/
-#define CHAT_SYSTEM /* */
+/* #define CHAT_SYSTEM /* */
/* Many MUSHes want to change the +channels to =channels. That's
* annoying. So we've got this CHAT_TOKEN_ALIAS, which allows + as well
qlast = NULL;
if (GoodObject(entry->player) && !IsGarbage(entry->player)) {
global_eval_context.cplr = entry->player;
-#ifdef _SWMP_
- sql_env[0] = entry->sql_env[0];
- sql_env[1] = entry->sql_env[1];
-#endif
giveto(global_eval_context.cplr, QUEUE_COST);
add_to(entry->queued, -1);
entry->player = 0;
{"SPEAKPENN", fun_speak, 2, 7, FN_REG},
{"SPELLNUM", fun_spellnum, 1, 1, FN_REG},
{"SPLICE", fun_splice, 3, 4, FN_REG},
-#ifdef _SWMP_
- {"SQ_RESPOND", fun_sq_respond, 1, 1, FN_REG},
-#endif
{"SQL", fun_sql, 1, 3, FN_REG},
{"SQLESCAPE", fun_sql_escape, 1, 1, FN_REG},
{"SQUISH", fun_squish, 1, 2, FN_REG},
options.ssl_port = 0; /* Disable ssl */
}
#endif
-#if (defined(HAS_MYSQL) && defined(_SWMP_))
- sql_startup();
-#endif
}
extern int dbline;
extern void inactivity_check(void);
extern void reopen_logs(void);
-#ifdef _SWMP_
-extern void sql_timer();
-#endif
static void migrate_stuff(int amount);
#ifndef WIN32
if((mudtime % 60) == 0)
run_cron(); /* Run the MUSH Cron Daemon */
#endif /* MUSHCRON */
-#ifdef _SWMP_
- sql_timer();
-#endif
#ifdef RPMODE_SYS
rplog_reset();
#endif