From 5abd3b1cc5fba26486d71c6a415fae797388ddf3 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 2 Sep 2009 00:44:15 +0000 Subject: Add "created" parameter to OnUserJoin, to avoid explicit checks for +P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11597 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_joinflood.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_joinflood.cpp') diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp index b3abeaf61..31d0b4e84 100644 --- a/src/modules/m_joinflood.cpp +++ b/src/modules/m_joinflood.cpp @@ -228,7 +228,7 @@ class ModuleJoinFlood : public Module return 0; } - virtual void OnUserJoin(User* user, Channel* channel, bool sync, bool &silent) + virtual void OnUserJoin(User* user, Channel* channel, bool sync, bool &silent, bool created) { joinfloodsettings *f; -- cgit v1.2.3