summaryrefslogtreecommitdiff
path: root/src/modules/m_alias.cpp
diff options
context:
space:
mode:
authorDaniel De Graaf <danieldg@inspircd.org>2010-07-30 14:34:11 -0400
committerDaniel De Graaf <danieldg@inspircd.org>2010-07-30 14:34:11 -0400
commit170ab71ba1cf8c6dd9bc09bc26ad454f1385999e (patch)
tree8d4a19a4d638d1e3632146051d84c96d0ebc7b15 /src/modules/m_alias.cpp
parent4f3ba0218652cc76cec4bcb1d116787eb31845c3 (diff)
Fix incorrect default on <alias:channelcommand>
Diffstat (limited to 'src/modules/m_alias.cpp')
-rw-r--r--src/modules/m_alias.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp
index c7f0da690..33f877a57 100644
--- a/src/modules/m_alias.cpp
+++ b/src/modules/m_alias.cpp
@@ -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");