From 8e662f620239cc42136c7a6526cc94eac3db1f59 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Fri, 13 Jul 2012 15:10:25 +0200 Subject: Change debug message in Invitation::Find() to output expiration time as a string to avoid warnings --- src/channels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/channels.cpp') 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; -- cgit v1.2.3