diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-10 15:07:39 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-10 15:07:39 +0000 |
commit | d2381df1f7ba0e7dd2226b83e9e3c98c5cbd8808 (patch) | |
tree | 1120a4307c2ad40b0b82ce65588a52a8b978ed6f /include | |
parent | 41dabab5f8ffed0c6cc1558b7318a2d118d2bdae (diff) |
-Clone mode methods into notice mask methods for userrec.
- Modify userrec to add char [] of notice masks, works in the same function as modes.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4273 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/users.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h index a7d1c9250..6f9c6d296 100644 --- a/include/users.h +++ b/include/users.h @@ -170,6 +170,11 @@ class userrec : public connection */ char modes[64]; + /** What snomasks are set on this user. + * This functions the same as the above modes. + */ + char snomasks[64]; + UserChanList chans; /** The server the user is connected to. @@ -267,6 +272,15 @@ class userrec : public connection /* * Create a displayable mode string for this users umodes */ + const char* FormatNoticeMasks(); + + bool IsNoticeMaskSet(unsigned char sm); + + void SetNoticeMask(unsigned char sm, bool value); + + /* + * Create a displayable mode string for this users umodes + */ const char* FormatModes(); bool IsModeSet(unsigned char m); |