diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-26 22:45:50 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-26 22:45:50 +0000 |
commit | 04c263eaedfb9827f735475afe409e9cd6ebecbf (patch) | |
tree | 6989cd42fe6430bdbb10c2d5f5a430d97db404b7 | |
parent | 872372d4bff7fa415e67e7a4083d454b529dce45 (diff) |
Typoed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2676 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/cmd_modules.cpp | 9 |
1 files 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++; } } |