--- a/extsay/extsay.c Tue Mar 09 21:47:34 2010 +0100
+++ b/extsay/extsay.c Tue Mar 09 22:17:15 2010 +0100
@@ -90,11 +90,10 @@
msg = load_message_from_file(tmpfile);
- if (g_unlink(tmpfile) != 0) {
- scr_LogPrint(LPRINT_NORMAL,"Warning, could not remove temp file.");
- }
+ if (g_unlink(tmpfile) != 0)
+ scr_LogPrint(LPRINT_NORMAL, "Warning, could not remove temp file.");
- return msg;
+ return msg;
}
static void do_extsay(char *args)
@@ -112,6 +111,11 @@
/* Add command */
cmd_add("extsay", "Use external editor to write a message",
0, 0, do_extsay, NULL);
+ scr_LogPrint(LPRINT_NORMAL, "Loading module extsay...\n"
+ "** Be careful, everything is on hold while you run the "
+ "external editor.\n"
+ "** Do not run it for too long!"
+ );
}
/* Deinitialization */