From 4be79b163029aae7f322bd9699bb8855a96e0547 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 23 Oct 2007 20:09:58 +0000 Subject: Pedantic safe git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8317 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modes/cmode_l.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modes/cmode_l.cpp') diff --git a/src/modes/cmode_l.cpp b/src/modes/cmode_l.cpp index 50ee28683..39e8b675b 100644 --- a/src/modes/cmode_l.cpp +++ b/src/modes/cmode_l.cpp @@ -21,7 +21,7 @@ ModeChannelLimit::ModeChannelLimit(InspIRCd* Instance) : ModeHandler(Instance, ' { } -ModePair ModeChannelLimit::ModeSet(User* source, User* dest, Channel* channel, const std::string ¶meter) +ModePair ModeChannelLimit::ModeSet(User*, User*, Channel* channel, const std::string ¶meter) { if (channel->limit) { @@ -33,13 +33,13 @@ ModePair ModeChannelLimit::ModeSet(User* source, User* dest, Channel* channel, c } } -bool ModeChannelLimit::CheckTimeStamp(time_t theirs, time_t ours, const std::string &their_param, const std::string &our_param, Channel* channel) +bool ModeChannelLimit::CheckTimeStamp(time_t, time_t, const std::string &their_param, const std::string &our_param, Channel*) { /* When TS is equal, the higher channel limit wins */ return (atoi(their_param.c_str()) < atoi(our_param.c_str())); } -ModeAction ModeChannelLimit::OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding) +ModeAction ModeChannelLimit::OnModeChange(User*, User*, Channel* channel, std::string ¶meter, bool adding) { if (adding) { -- cgit v1.2.3