Fix a signed/unsigned mismatch
This commit is contained in:
@@ -1248,7 +1248,7 @@ void IrcClient::on_channel_mode(const IrcMessage& message)
|
||||
}
|
||||
}
|
||||
|
||||
void IrcClient::set_throttle_limit(std::size_t limit)
|
||||
void IrcClient::set_throttle_limit(long int limit)
|
||||
{
|
||||
this->tokens_bucket.set_limit(limit);
|
||||
}
|
||||
|
||||
@@ -301,7 +301,7 @@ public:
|
||||
const std::vector<char>& get_sorted_user_modes() const { return this->sorted_user_modes; }
|
||||
|
||||
std::set<char> get_chantypes() const { return this->chantypes; }
|
||||
void set_throttle_limit(std::size_t limit);
|
||||
void set_throttle_limit(long int limit);
|
||||
/**
|
||||
* Store the history limit that the client asked when joining this room.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user