aboutsummaryrefslogtreecommitdiffstats
path: root/src/kvilib/ext/KviRegisteredUserMask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvilib/ext/KviRegisteredUserMask.cpp')
-rw-r--r--src/kvilib/ext/KviRegisteredUserMask.cpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/kvilib/ext/KviRegisteredUserMask.cpp b/src/kvilib/ext/KviRegisteredUserMask.cpp
new file mode 100644
index 000000000..45d60859e
--- /dev/null
+++ b/src/kvilib/ext/KviRegisteredUserMask.cpp
@@ -0,0 +1,32 @@
+//=============================================================================
+//
+// File : KviRegisteredUserMask.cpp
+// Creation date : Wed Dec 29 2010 02:39:05 CEST by Elvio Basello
+//
+// This file is part of the KVIrc irc client distribution
+// Copyright (C) 2010 Elvio Basello (hellvis69 at gmail dot com)
+//
+// This program is FREE software. You can redistribute it and/or
+// modify it under the terms of the GNU General Public License
+// as published by the Free Software Foundation; either version 2
+// of the License, or (at your opinion) any later version.
+//
+// This program is distributed in the HOPE that it will be USEFUL,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, write to the Free Software Foundation,
+// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+//
+//=============================================================================
+
+#include "KviRegisteredUserMask.h"
+
+KviRegisteredUserMask::KviRegisteredUserMask(KviRegisteredUser * pUser, KviIrcMask * pMask)
+{
+ m_pUser = pUser;
+ m_pMask = pMask;
+ m_iMaskNonWildChars = m_pMask->nonWildChars();
+}