diff options
| author | 2015-12-07 10:17:49 +0100 | |
|---|---|---|
| committer | 2015-12-07 10:17:49 +0100 | |
| commit | 6352a6f9c9685c32ec17a7d6f9f89df0e3ec3054 (patch) | |
| tree | ccc1e0d306c317a55d5c61ead43395efe2c6092b /src/modules/m_spanningtree/save.cpp | |
| parent | Do not insert FakeUsers into UserManager::uuidlist (diff) | |
Remove some IS_SERVER() checks
- InspIRCd::FindUUID() and FindNick() no longer return FakeUsers so checking the user returned from those methods is needless
- m_dccallow is calling FindNickOnly() so it had the check needlessly
Diffstat (limited to 'src/modules/m_spanningtree/save.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/save.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/save.cpp b/src/modules/m_spanningtree/save.cpp index a382b8d66..7131b49fe 100644 --- a/src/modules/m_spanningtree/save.cpp +++ b/src/modules/m_spanningtree/save.cpp @@ -29,7 +29,7 @@ CmdResult CommandSave::Handle(User* user, std::vector<std::string>& params) { User* u = ServerInstance->FindUUID(params[0]); - if ((!u) || (IS_SERVER(u))) + if (!u) return CMD_FAILURE; time_t ts = atol(params[1].c_str()); |
