summaryrefslogtreecommitdiff
path: root/src/modes/umode_n.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-23 20:09:58 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-23 20:09:58 +0000
commit4be79b163029aae7f322bd9699bb8855a96e0547 (patch)
tree28511617491d9e64076f216f4fd3a09b4c374a07 /src/modes/umode_n.cpp
parent08e3151057f9e9e2d03a2c5858c5a83335f378fd (diff)
Pedantic safe
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8317 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modes/umode_n.cpp')
-rw-r--r--src/modes/umode_n.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modes/umode_n.cpp b/src/modes/umode_n.cpp
index 0ffffac10..217e06ea1 100644
--- a/src/modes/umode_n.cpp
+++ b/src/modes/umode_n.cpp
@@ -21,13 +21,13 @@ ModeUserServerNoticeMask::ModeUserServerNoticeMask(InspIRCd* Instance) : ModeHan
{
}
-ModeAction ModeUserServerNoticeMask::OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding)
+ModeAction ModeUserServerNoticeMask::OnModeChange(User* source, User* dest, Channel*, std::string &parameter, bool adding)
{
/* Only opers can change other users modes */
if ((source != dest) && (!*source->oper))
return MODEACTION_DENY;
- /* Set the bitfields */
+ /* Set the array fields */
if (adding)
{
/* Fix for bug #310 reported by Smartys */