]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_cban.cpp
Fix previous module mismatch message; "remote" is misleading when sent as an ERROR
[user/henk/code/inspircd.git] / src / modules / m_cban.cpp
index 20f56e3f779aed4f875fef3b462012497b77e875..e9cf1ce0aacc58a23fb9b992dbddd212b4200e69 100644 (file)
@@ -47,7 +47,7 @@ public:
 
        void DisplayExpiry()
        {
-               ServerInstance->SNO->WriteToSnoMask('x',"Expiring timed CBan %s (set by %s %ld seconds ago)", this->matchtext.c_str(), this->source, this->duration);
+               ServerInstance->SNO->WriteToSnoMask('x',"Removing expired CBan %s (set by %s %ld seconds ago)", this->matchtext.c_str(), this->source, (long int)(ServerInstance->Time() - this->set_time));
        }
 
        const char* Displayable()