From 09bec79b473fad40268f7b25b92c4979563829c4 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 4 Mar 2014 04:14:17 -0500 Subject: Fix 2 crashes from removing the permanent channel mode from channels which do not exist --- include/modules.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index 5bfb1e8e2..0d121089a 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1010,7 +1010,7 @@ class CoreExport Module : public Extensible * mostly to ensure mlock/+r are set. * @param c The channel */ - virtual void OnCheckModes(Channel *c) { throw NotImplementedException(); } + virtual void OnCheckModes(Reference &c) { throw NotImplementedException(); } /** Called when a channel is synced. * Channels are synced after a sjoin is finished processing -- cgit