]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix incorrect default on <alias:channelcommand>
authorDaniel De Graaf <danieldg@inspircd.org>
Fri, 30 Jul 2010 18:34:11 +0000 (14:34 -0400)
committerDaniel De Graaf <danieldg@inspircd.org>
Fri, 30 Jul 2010 18:34:11 +0000 (14:34 -0400)
src/modules/m_alias.cpp

index c7f0da690ed8b9eb80cae4378f3b0afc51c91163..33f877a57ede222beb1d6574cf74048dd7c55790 100644 (file)
@@ -82,8 +82,8 @@ class ModuleAlias : public Module
                        tag->readString("replace", a.ReplaceFormat, true);
                        a.RequiredNick = tag->getString("requires");
                        a.ULineOnly = tag->getBool("uline");
-                       a.ChannelCommand = tag->getBool("channelcommand", "no");
-                       a.UserCommand = tag->getBool("usercommand", "yes");
+                       a.ChannelCommand = tag->getBool("channelcommand", false);
+                       a.UserCommand = tag->getBool("usercommand", true);
                        a.OperOnly = tag->getBool("operonly");
                        a.format = tag->getString("format");
                        a.CaseSensitive = tag->getBool("matchcase");