X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmodules%2Fshun.h;h=1c35e3a74f92dfd4725527e0a0dd9af554cd67d1;hb=ebb3258ff477724e73abe861c3ff66f63da19e42;hp=f2bc4eea5ba27300d4e2804bf35c6f34a458f3e5;hpb=35a37bf46f2d2af8b346671de5d80d1073e5edb6;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/modules/shun.h b/include/modules/shun.h index f2bc4eea5..1c35e3a74 100644 --- a/include/modules/shun.h +++ b/include/modules/shun.h @@ -23,7 +23,7 @@ /** Shun class */ -class CoreExport Shun : public XLine +class Shun : public XLine { public: /** Create a Shun. @@ -33,7 +33,7 @@ class CoreExport Shun : public XLine * @param re The reason of the xline * @param shunmask Mask to match */ - Shun(time_t s_time, long d, const std::string& src, const std::string& re, const std::string& shunmask) + Shun(time_t s_time, unsigned long d, const std::string& src, const std::string& re, const std::string& shunmask) : XLine(s_time, d, src, re, "SHUN") , matchtext(shunmask) {