diff options
| author | 2012-07-13 15:10:25 +0200 | |
|---|---|---|
| committer | 2012-07-13 15:27:38 +0200 | |
| commit | 8e662f620239cc42136c7a6526cc94eac3db1f59 (patch) | |
| tree | 88d818ac0c3b5a99f914de85c78728f89e6d90d7 /src/channels.cpp | |
| parent | m_chanhistory Read the boolean config entry with getBool() (diff) | |
| download | inspircd++-8e662f620239cc42136c7a6526cc94eac3db1f59.tar.gz inspircd++-8e662f620239cc42136c7a6526cc94eac3db1f59.tar.bz2 inspircd++-8e662f620239cc42136c7a6526cc94eac3db1f59.zip | |
Change debug message in Invitation::Find() to output expiration time as a string to avoid warnings
Diffstat (limited to 'src/channels.cpp')
| -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; |
