diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-10-13 19:07:44 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-10-13 19:07:44 +0200 |
commit | 9bb839b6a2873a366ac8685c3c8846b6837f85ca (patch) | |
tree | 34b4fdfa7ba3419081089790d1665c5abc249719 /src/commands/cmd_rules.cpp | |
parent | 44542c1f1acabbf00f8f468f3bb837c5a8b2736e (diff) | |
parent | 6935ce2956fed99d5484da90e614b7126e5275d3 (diff) |
Merge pull request #933 from SaberUK/insp20+fix-llvm34
Fix various warnings when building with LLVM 3.5.
Diffstat (limited to 'src/commands/cmd_rules.cpp')
-rw-r--r-- | src/commands/cmd_rules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_rules.cpp b/src/commands/cmd_rules.cpp index 5d41aa4b8..17de9f3f2 100644 --- a/src/commands/cmd_rules.cpp +++ b/src/commands/cmd_rules.cpp @@ -51,7 +51,7 @@ CmdResult CommandRules::Handle (const std::vector<std::string>& parameters, User if (parameters.size() > 0 && parameters[0] != ServerInstance->Config->ServerName) return CMD_SUCCESS; - ConfigTag* tag = NULL; + ConfigTag* tag = ServerInstance->Config->EmptyTag; if (IS_LOCAL(user)) tag = user->GetClass()->config; std::string rules_name = tag->getString("rules", "rules"); |