diff options
author | attilamolnar <attilamolnar@hush.com> | 2012-07-13 15:10:25 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2012-07-13 15:27:38 +0200 |
commit | 8e662f620239cc42136c7a6526cc94eac3db1f59 (patch) | |
tree | 88d818ac0c3b5a99f914de85c78728f89e6d90d7 | |
parent | f64ced2653006c472bfd2ea5b117dddfac61adcb (diff) |
Change debug message in Invitation::Find() to output expiration time as a string to avoid warnings
-rw-r--r-- | src/channels.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index f1dba5315..c265171b5 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -1013,7 +1013,7 @@ Invitation* Invitation::Find(Channel* c, LocalUser* u, bool check_expired) if ((check_expired) && (inv->expiry != 0) && (inv->expiry <= ServerInstance->Time())) { /* Expired invite, remove it. */ - ServerInstance->Logs->Log("INVITATION", DEBUG, "Invitation::Find ecountered expired entry: %p timed out at %lu", (void*) inv, inv->expiry); + ServerInstance->Logs->Log("INVITATION", DEBUG, "Invitation::Find ecountered expired entry: %p expired %s", (void*) inv, ServerInstance->TimeString(inv->expiry).c_str()); i = locallist.erase(i); inv->cull(); delete inv; |