]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_ojoin.cpp
m_callerid, m_dccallow Use OnUserPostNick hook instead of OnUserPreNick
[user/henk/code/inspircd.git] / src / modules / m_ojoin.cpp
index 17c52710ab5e357ac52d0cfb8dd69fafcf841387..d4daf2b6387a8ec94d97e2901bf695cc236443cd 100644 (file)
@@ -1,16 +1,22 @@
-/*       +------------------------------------+
- *       | Inspire Internet Relay Chat Daemon |
- *       +------------------------------------+
+/*
+ * InspIRCd -- Internet Relay Chat Daemon
+ *
+ *   Copyright (C) 2009-2010 Daniel De Graaf <danieldg@inspircd.org>
  *
- *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
- * See: http://wiki.inspircd.org/Credits
+ * 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
+ * License as published by the Free Software Foundation, version 2.
  *
- * This program is free but copyrighted software; see
- *            the file COPYING for details.
+ * 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, see <http://www.gnu.org/licenses/>.
  */
 
+
 /*
  * Written for InspIRCd-1.2 by Taros on the Tel'Laerad M&D Team
  * <http://tellaerad.net>
@@ -200,7 +206,7 @@ class ModuleOjoin : public Module
 
        void OnRehash(User* user)
        {
-               ConfigTag* Conf = ServerInstance->Config->ConvValue("ojoin");
+               ConfigTag* Conf = ServerInstance->Config->ConfValue("ojoin");
 
                if (!np)
                {
@@ -242,7 +248,7 @@ class ModuleOjoin : public Module
 
        Version GetVersion()
        {
-               return Version("Network Buisness Join", VF_VENDOR);
+               return Version("Network Business Join", VF_VENDOR);
        }
 };