diff --git a/push.cpp b/push.cpp index 974c745..fd84d47 100644 --- a/push.cpp +++ b/push.cpp @@ -17,6 +17,7 @@ #include #include #include "time.h" +#include // Forward declaration class CPushMod; @@ -74,13 +75,13 @@ class CPushMod : public CModule CString app; // Time last notification was sent for a given context - map last_notification_time; + std::map last_notification_time; // Time of last message by user to a given context - map last_reply_time; + std::map last_reply_time; // Time of last activity by user for a given context - map last_active_time; + std::map last_active_time; // Time of last activity by user in any context unsigned int idle_time; @@ -546,7 +547,7 @@ class CPushMod : public CModule CNick nick = user->GetNick(); - if (message.find(nick.GetNick()) != string::npos) + if (message.find(nick.GetNick()) != std::string::npos) { return true; }