diff options
author | shennetsind <ind@henn.et> | 2013-11-16 16:30:11 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-11-16 16:30:11 -0200 |
commit | aee2f6317e1c927847993801b5973d7e2e27a418 (patch) | |
tree | f39d86f489a9f922857718fa4ada68563eaf2503 /src/common/utils.h | |
parent | 45ef2298022fcc50e2609c5f9363fd56d4dd3079 (diff) | |
download | hercules-aee2f6317e1c927847993801b5973d7e2e27a418.tar.gz hercules-aee2f6317e1c927847993801b5973d7e2e27a418.tar.bz2 hercules-aee2f6317e1c927847993801b5973d7e2e27a418.tar.xz hercules-aee2f6317e1c927847993801b5973d7e2e27a418.zip |
Introducing Character Ban Support.
@charban/@charunban, can temporarily block any accounts as opposed to the usual account-wide block.
Special Thanks to Haruna, Yommy!
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/common/utils.h')
-rw-r--r-- | src/common/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/utils.h b/src/common/utils.h index 32087d78f..3e1463d6b 100644 --- a/src/common/utils.h +++ b/src/common/utils.h @@ -25,6 +25,8 @@ bool exists(const char* filename); /// calculates the value of A / B, in percent (rounded down) unsigned int get_percentage(const unsigned int A, const unsigned int B); +const char* timestamp2string(char* str, size_t size, time_t timestamp, const char* format); + ////////////////////////////////////////////////////////////////////////// // byte word dword access [Shinomori] ////////////////////////////////////////////////////////////////////////// |