From f7ff0b1086f99b2b8fc191ffa88e7050db72fe88 Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Wed, 4 Aug 2010 13:52:19 -0400 Subject: Set target user for a join to the joining user --- 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 59e37ae88..3edc4739b 100644 --- a/include/modules.h +++ b/include/modules.h @@ -406,7 +406,7 @@ class CoreExport ChannelPermissionData : public PermissionData /** True if the user was invited */ bool invited; ChannelPermissionData(User* src, Channel* c, const std::string& Name, const std::string& Key) - : PermissionData(src, "join", c, NULL), channel(Name), key(Key) {} + : PermissionData(src, "join", c, src), channel(Name), key(Key) {} }; /** Base class for all InspIRCd modules -- cgit v1.3.1-10-gc9f91