diff mcabber/mcabber/settings.c @ 1735:5093b5ca1572

New modules loading scheme
author Myhailo Danylenko <isbear@ukrpost.net>
date Thu, 04 Mar 2010 13:03:20 +0200
parents 4e57d6275a86
children 15e1f3957786
line wrap: on
line diff
--- a/mcabber/mcabber/settings.c	Tue Mar 02 13:47:43 2010 +0100
+++ b/mcabber/mcabber/settings.c	Thu Mar 04 13:03:20 2010 +0200
@@ -187,7 +187,7 @@
         startswith(line, "source ", FALSE) ||
         startswith(line, "color ", FALSE)  ||
 #ifdef MODULES_ENABLE
-        startswith(line, "load ", FALSE)   ||
+        startswith(line, "module ", FALSE)   ||
 #endif
         startswith(line, "status ", FALSE) ||
         startswith(line, "otrpolicy", FALSE)) {
@@ -201,7 +201,7 @@
           !startswith(line, "status ", FALSE) &&
           !startswith(line, "color ", FALSE)  &&
 #ifdef MODULES_ENABLE
-          !startswith(line, "load ", FALSE)   &&
+          !startswith(line, "module ", FALSE)   &&
 #endif
           !startswith(line, "otrpolicy ", FALSE)) {
         scr_LogPrint(LPRINT_LOGNORM, "Error in configuration file (l. %d): "