From 6db01869479c878753fc6da49f2fb0bc44511359 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 20 Jul 2013 02:55:25 -0400 Subject: Fix not setting the correct compile flags on modules and fix the resulting warnings --- include/modules.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index c725152eb..98bb02f23 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1001,9 +1001,8 @@ class CoreExport Module : public Extensible /** Called when a channels modes are being checked to see if they are allowed, * mostly to ensure mlock/+r are set. * @param c The channel - * @return EVENT_STOP to stop checking modes */ - virtual EventReturn OnCheckModes(Channel *c) { throw NotImplementedException(); } + virtual void OnCheckModes(Channel *c) { throw NotImplementedException(); } /** Called when a channel is synced. * Channels are synced after a sjoin is finished processing -- cgit