X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmodules%2Fregex.h;h=6d036e148063e0615163b968fcfb357fd13a0a77;hb=b4a174ee9c32d62ea6bf010e837e8c5b1c3d36a3;hp=5ef00cdd043806e178878c9f7fe47010db70eb76;hpb=87b1461e2a4710a38b32186c2582da9fe9bb3804;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/modules/regex.h b/include/modules/regex.h index 5ef00cdd0..6d036e148 100644 --- a/include/modules/regex.h +++ b/include/modules/regex.h @@ -1,6 +1,11 @@ /* * InspIRCd -- Internet Relay Chat Daemon * + * Copyright (C) 2013 Sadie Powell + * Copyright (C) 2013 Attila Molnar + * Copyright (C) 2012 Robby + * Copyright (C) 2010 Craig Edwards + * Copyright (C) 2009 Uli Schlachter * Copyright (C) 2009 Daniel De Graaf * Copyright (C) 2008 Thomas Stagner * @@ -20,7 +25,7 @@ #pragma once -#include "inspircd.h" +#include "event.h" class Regex : public classbase { @@ -54,9 +59,9 @@ class RegexFactory : public DataProvider class RegexException : public ModuleException { public: - RegexException(const std::string& regex, const std::string& error) - : ModuleException("Error in regex '" + regex + "': " + error) { } + RegexException(const std::string& regex, const std::string& error) + : ModuleException("Error in regex '" + regex + "': " + error) { } - RegexException(const std::string& regex, const std::string& error, int offset) - : ModuleException("Error in regex '" + regex + "' at offset " + ConvToStr(offset) + ": " + error) { } + RegexException(const std::string& regex, const std::string& error, int offset) + : ModuleException("Error in regex '" + regex + "' at offset " + ConvToStr(offset) + ": " + error) { } };