summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 48ce0054b..40594c8a9 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -110,6 +110,11 @@ bool DoneClassesAndTypes(const char* tag)
return true;
}
+bool userrec::HasMode(unsigned char m)
+{
+ return (modes[m-65]);
+}
+
const char* userrec::FormatModes()
{
static char data[MAXBUF];