summaryrefslogtreecommitdiff
path: root/include/modes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modes.h')
-rw-r--r--include/modes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modes.h b/include/modes.h
index 2ecf6f1ec..868feab81 100644
--- a/include/modes.h
+++ b/include/modes.h
@@ -195,7 +195,7 @@ class CoreExport ChannelMode : public Mode
* NOTE: User CAN be NULL, this is for checking if it can be locked with defcon
* @param u The user, or NULL
*/
- virtual bool CanSet(User *u) const { return true; }
+ bool CanSet(User *u) const;
};