diff options
| author | 2008-12-01 18:10:22 +0000 | |
|---|---|---|
| committer | 2008-12-01 18:10:22 +0000 | |
| commit | fc7eba500a05eaf51a0f72d6ca1e91085698b38a (patch) | |
| tree | 14a096eb36d69a18e33dfe5a0cb99e92a2729210 /src/command_parse.cpp | |
| parent | Remove unused variable (thanks to everyone who noticed it) (diff) | |
Remove OverPenalty, saves sizeof(bool) per user.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10836 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/command_parse.cpp')
| -rw-r--r-- | src/command_parse.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp index e6b38242c..886824d20 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -356,8 +356,6 @@ bool CommandParser::ProcessCommand(User *user, std::string &cmd) { user->IncreasePenalty(cm->second->Penalty); do_more = (user->Penalty < 10); - if (!do_more) - user->OverPenalty = true; } /* activity resets the ping pending timer */ |
