diff options
| author | 2010-08-04 13:52:19 -0400 | |
|---|---|---|
| committer | 2010-08-04 13:52:19 -0400 | |
| commit | f7ff0b1086f99b2b8fc191ffa88e7050db72fe88 (patch) | |
| tree | e5807f25c7bd1ed6b7566913496ef948ea837fea /include | |
| parent | Mark channel redirects using a common extension to prevent double-redirects (diff) | |
Set target user for a join to the joining user
Diffstat (limited to 'include')
| -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 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 |
