From 04c263eaedfb9827f735475afe409e9cd6ebecbf Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 26 Dec 2005 22:45:50 +0000 Subject: Typoed git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2676 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_modules.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/cmd_modules.cpp b/src/cmd_modules.cpp index 4a7b3b25d..93908d21d 100644 --- a/src/cmd_modules.cpp +++ b/src/cmd_modules.cpp @@ -110,10 +110,13 @@ void cmd_modules::Handle (char **parameters, int pcnt, userrec *user) *dlist = 0; for (int v = 0; v < 4; v++) { - if ((itab[it]) && (Config->implement_lists[i][it])) + if (itab[it]) { - snprintf(data,MAXBUF,"%s=>%c ",itab[it],(Config->implement_lists[i][it] ? '1' : '0')); - strncat(dlist,data,MAXBUF); + if (Config->implement_lists[i][it]) + { + snprintf(data,MAXBUF,"%s=>%c ",itab[it],(Config->implement_lists[i][it] ? '1' : '0')); + strncat(dlist,data,MAXBUF); + } it++; } } -- cgit v1.2.3