summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-08 18:03:30 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-08 18:03:30 +0000
commitfc9e00f49299cb3b402406b5f185d5f4af1e9780 (patch)
tree48b6fe7559ce9ef6f0e46c49618bfe1ddf3d5523 /include/users.h
parent1d3147a96ec3193929463830800c97df5f344b53 (diff)
Add userrec::HasMode, fix some typos.
TODO: Make more use of userrec::HasUmode('c') rather than user->modes['c'-65] *oogly* Next - get umode +o working! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4178 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index b1f784bb3..2b3f74742 100644
--- a/include/users.h
+++ b/include/users.h
@@ -268,6 +268,8 @@ class userrec : public connection
* Create a displayable mode string for this users umodes
*/
const char* FormatModes();
+
+ bool HasMode(unsigned char m);
/** Returns true if a user is invited to a channel.
*/