]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_alias.cpp
Fix for bug #791, if an error is set treat this as 'could not get certificate'
[user/henk/code/inspircd.git] / src / modules / m_alias.cpp
index 1d601127a9f0e1718354029fa07bf4d6ac07e20d..17ae1e13515b1e7abb0e6ed52cb57c2c8b3fbbff 100644 (file)
@@ -3,7 +3,7 @@
  *       +------------------------------------+
  *
  *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
@@ -68,7 +68,7 @@ class ModuleAlias : public Module
                ConfigReader MyConf(ServerInstance);
 
                AllowBots = MyConf.ReadFlag("fantasy", "allowbots", "no", 0);
-               
+
                std::string fpre = MyConf.ReadValue("fantasy","prefix",0);
                fprefix = fpre.empty() ? '!' : fpre[0];
 
@@ -231,7 +231,7 @@ class ModuleAlias : public Module
 
                if (i == Aliases.end())
                        return 0;
-               
+
                /* Avoid iterating on to other aliases if no patterns match */
                std::multimap<std::string, Alias>::iterator upperbound = Aliases.upper_bound(fcommand);
 
@@ -255,7 +255,7 @@ class ModuleAlias : public Module
 
                        i++;
                }
-               
+
                return 0;
        }
 
@@ -361,7 +361,7 @@ class ModuleAlias : public Module
                if (c)
                {
                        /* Channel specific variables */
-                       SearchAndReplace(newline, std::string("$chan"), c->name);                       
+                       SearchAndReplace(newline, std::string("$chan"), c->name);
                }
 
                irc::tokenstream ss(newline);