diff options
author | Adam <Adam@anope.org> | 2011-04-25 03:16:57 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-05-16 04:07:56 -0400 |
commit | 076ebafa1b4cc935c466c615b94eaac415af9a67 (patch) | |
tree | dbc8b0f9e7b6f954569c13ad35598f5ebe8a081d /include/users.h | |
parent | 6922bd239c778e8f6f2081476ce20b9426c515ad (diff) |
Moved some global functions to be member functions and misc cleanup
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h index dcfe219bf..fd6600326 100644 --- a/include/users.h +++ b/include/users.h @@ -284,6 +284,12 @@ class CoreExport User : public Extensible * @return true or false */ bool IsProtected() const; + + /** Kill a user + * @param source The user/server doing the kill + * @param reason The reason for the kill + */ + void Kill(const Anope::string &source, const Anope::string &reason); }; #endif // USERS_H |