diff options
author | Adam <Adam@anope.org> | 2011-08-12 03:13:56 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-08-12 03:13:56 -0400 |
commit | feee50e6959171123773417caab73ecad3af824b (patch) | |
tree | db23ef04c56f0552e1876e9d9a75d1b3142bca3b /include/users.h | |
parent | 54710a782b49f01a868987227e9b8748d28834cb (diff) |
Allow bot usermodes to be configurable
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h index b02705bda..6d7d8635e 100644 --- a/include/users.h +++ b/include/users.h @@ -271,6 +271,11 @@ class CoreExport User : public Extensible */ void SetModesInternal(const char *umodes, ...); + /** Get modes set for this user. + * @return A string of modes set on the user + */ + Anope::string GetModes() const; + /** Find the channel container for Channel c that the user is on * This is preferred over using FindUser in Channel, as there are usually more users in a channel * than channels a user is in |