diff options
author | Adam <Adam@anope.org> | 2014-03-04 04:14:17 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-03-04 04:15:32 -0500 |
commit | 09bec79b473fad40268f7b25b92c4979563829c4 (patch) | |
tree | e5e70c2fd3c6bfbcdb3fbd571c3c0191741b3caa /include/modules.h | |
parent | 55a5affcb8251c6ef677d78ea848dc8d26b90471 (diff) |
Fix 2 crashes from removing the permanent channel mode from channels which do not exist
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<Channel> &c) { throw NotImplementedException(); } /** Called when a channel is synced. * Channels are synced after a sjoin is finished processing |