diff options
-rw-r--r-- | src/modules/extra/m_filter_pcre.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_filter.cpp | 2 | ||||
-rw-r--r-- | win/configure.cpp | 10 | ||||
-rw-r--r-- | win/inspircd_win32wrapper.h | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/extra/m_filter_pcre.cpp b/src/modules/extra/m_filter_pcre.cpp index 035d632ca..6fe79a981 100644 --- a/src/modules/extra/m_filter_pcre.cpp +++ b/src/modules/extra/m_filter_pcre.cpp @@ -171,7 +171,7 @@ class ModuleFilterPCRE : public FilterBase std::string sn = ServerInstance->Config->ServerName; for (std::vector<PCREFilter>::iterator i = filters.begin(); i != filters.end(); i++) { - results.push_back(sn+" 223 "+user->nick+" :REGEXP:"+i->freeform+" "+i->action+" "+ConvToStr(i->gline_time)+" :"+i->reason); + results.push_back(sn+" 223 "+user->nick+" :REGEXP:"+i->freeform+" "+i->flags+" "+i->action+" "+ConvToStr(i->gline_time)+" :"+i->reason); } } return 0; diff --git a/src/modules/m_filter.cpp b/src/modules/m_filter.cpp index 0253b8aaa..70de88e2c 100644 --- a/src/modules/m_filter.cpp +++ b/src/modules/m_filter.cpp @@ -124,7 +124,7 @@ class ModuleFilter : public FilterBase std::string sn = ServerInstance->Config->ServerName; for (filter_t::iterator n = filters.begin(); n != filters.end(); n++) { - results.push_back(sn+" 223 "+user->nick+" :GLOB:"+n->second->freeform+" "+n->second->action+" "+ConvToStr(n->second->gline_time)+" :"+n->second->reason); + results.push_back(sn+" 223 "+user->nick+" :GLOB:"+n->second->freeform+" "+n->second->flags+" "+n->second->action+" "+ConvToStr(n->second->gline_time)+" :"+n->second->reason); } } return 0; diff --git a/win/configure.cpp b/win/configure.cpp index 44666398e..adb10a6b9 100644 --- a/win/configure.cpp +++ b/win/configure.cpp @@ -13,11 +13,11 @@ #define _CRT_SECURE_NO_DEPRECATE -#include <windows.h>
-#include <stdio.h>
-#include <string>
-#include <time.h>
-#include "colours.h"
+#include <windows.h> +#include <stdio.h> +#include <string> +#include <time.h> +#include "colours.h" using namespace std; void Run(); diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h index 2daa4ced7..fb6882378 100644 --- a/win/inspircd_win32wrapper.h +++ b/win/inspircd_win32wrapper.h @@ -100,7 +100,7 @@ CoreExport int inet_aton(const char *, struct in_addr *); /* Unix-style get running user id */ CoreExport int geteuid(); -/* Handles colors in printf */
+/* Handles colors in printf */ CoreExport int printf_c(const char * format, ...); /* getopt() wrapper */ |