diff options
Diffstat (limited to 'src/mode.cpp')
-rw-r--r-- | src/mode.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index 12c6b2b92..e38b3946a 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -79,6 +79,7 @@ extern bool AllowHalfop; extern bool AllowProtect; extern bool AllowFounder; +extern time_t TIME; char* give_ops(userrec *user,char *dest,chanrec *chan,int status) { @@ -484,7 +485,7 @@ char* add_ban(userrec *user,char *dest,chanrec *chan,int status) } } - b.set_time = time(NULL); + b.set_time = TIME; strncpy(b.data,dest,MAXBUF); strncpy(b.set_by,user->nick,NICKMAX); chan->bans.push_back(b); |