From 4185ba9bb149daf991bfb9f4e3b5a5d75362d94a Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 7 Sep 2008 16:19:28 +0000 Subject: Set default values for and , Ankit, please provide feedback. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10439 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_alias.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp index 2479658e6..f605cc5f4 100644 --- a/src/modules/m_alias.cpp +++ b/src/modules/m_alias.cpp @@ -71,8 +71,8 @@ class ModuleAlias : public Module a.ReplaceFormat = MyConf.ReadValue("alias", "replace", i, true); a.RequiredNick = MyConf.ReadValue("alias", "requires", i); a.ULineOnly = MyConf.ReadFlag("alias", "uline", i); - a.ChannelCommand = MyConf.ReadFlag("alias", "channelcommand", i); - a.UserCommand = MyConf.ReadFlag("alias", "usercommand", i); + a.ChannelCommand = MyConf.ReadFlag("alias", "channelcommand", false, i); + a.UserCommand = MyConf.ReadFlag("alias", "usercommand", true, i); a.OperOnly = MyConf.ReadFlag("alias", "operonly", i); a.format = MyConf.ReadValue("alias", "format", i); a.CaseSensitive = MyConf.ReadFlag("alias", "matchcase", i); -- cgit v1.2.3