diff options
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 7d5cf6dc5..96518fe56 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -592,7 +592,7 @@ bool InspIRCd::LoadModule(const char* filename) snprintf(MODERR,MAXBUF,"Loader/Linker error: %s",factory[MODCOUNT+1]->LastError()); return false; } - if ((int)factory[MODCOUNT+1]->factory != -1) + if ((long)factory[MODCOUNT+1]->factory != -1) { Module* m = factory[MODCOUNT+1]->factory->CreateModule(MyServer); modules[MODCOUNT+1] = m; |