]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modules/shun.h
Use IsCTCP in blockcolor for ignoring CTCPs.
[user/henk/code/inspircd.git] / include / modules / shun.h
index f2bc4eea5ba27300d4e2804bf35c6f34a458f3e5..f1fd9a60d7310c9ff9d43e8824dea8f93045ef0c 100644 (file)
@@ -1,7 +1,8 @@
 /*
  * InspIRCd -- Internet Relay Chat Daemon
  *
- *   Copyright (C) 2017 Dylan Frank <b00mx0r@aureus.pw>
+ *   Copyright (C) 2018 Sadie Powell <sadie@witchery.services>
+ *   Copyright (C) 2017 B00mX0r <b00mx0r@aureus.pw>
  *
  * This file is part of InspIRCd.  InspIRCd is free software: you can
  * redistribute it and/or modify it under the terms of the GNU General Public
@@ -23,7 +24,7 @@
 
 /** Shun class
  */
-class CoreExport Shun : public XLine
+class Shun : public XLine
 {
   public:
        /** Create a Shun.
@@ -33,7 +34,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)
        {