mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 12:09:03 -04:00
Pedantic safety
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8350 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
2ab88037d8
commit
58e4aa3a8c
@ -596,7 +596,7 @@ class CoreExport User : public connection
|
||||
|
||||
/** Flood counters - lines received
|
||||
*/
|
||||
int lines_in;
|
||||
unsigned int lines_in;
|
||||
|
||||
/** Flood counters - time lines_in is due to be reset
|
||||
*/
|
||||
|
@ -219,7 +219,7 @@ CmdResult CommandParser::CallHandler(const std::string &commandname,const char**
|
||||
void CommandParser::DoLines(User* current, bool one_only)
|
||||
{
|
||||
// while there are complete lines to process...
|
||||
int floodlines = 0;
|
||||
unsigned int floodlines = 0;
|
||||
|
||||
while (current->BufferIsReady())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user