* Hints for mysql in linux added. Fixes odd cases where mysql
isn't detected on certain servers. [RLB]
* Fixed notify bug that caused the chat system to crash [AEJ]
+ * Fixed second notify bug that caused the chat system to crash [AEJ]
& 0.72
CobraMUSH Version 0.72
/* Evaluate the On Contact Message */
if(flags & NA_EVALONCONTACT) {
+ const char *tmpbuf = msgbuf;
for (j = 0; j < 10; j++)
wsave[j] = global_eval_context.wenv[j];
global_eval_context.wenv[0] = msgbuf;
for (j = 1; j < 10; j++)
global_eval_context.wenv[j] = NULL;
bp = eocm;
- process_expression(eocm, &bp, (const char **) &msgbuf, target, speaker,
- speaker, PE_DEFAULT, PT_DEFAULT, NULL);
+ process_expression(eocm, &bp, &tmpbuf, target, speaker, speaker,
+ PE_DEFAULT, PT_DEFAULT, NULL);
*bp = 0;
for (j = 0; j < 10; j++)
global_eval_context.wenv[j] = wsave[j];