/* $ModDesc: Povides support for ircu-style services accounts, including chmode +R, etc. */
+/** Channel mode +R - unidentified users cannot join
+ */
class AChannel_R : public ModeHandler
{
public:
}
};
+/** User mode +R - unidentified users cannot message
+ */
class AUser_R : public ModeHandler
{
public:
}
};
+/** Channel mode +M - unidentified users cannot message channel
+ */
class AChannel_M : public ModeHandler
{
public:
return OnUserPreMessage(user, dest, target_type, text, status);
}
- virtual int OnUserPreJoin(userrec* user, chanrec* chan, const char* cname)
+ virtual int OnUserPreJoin(userrec* user, chanrec* chan, const char* cname, std::string &privs)
{
std::string *account;
user->GetExt("accountname", account);