- // OnJoin: you just successfully joined this channel
- virtual bool OnJoin ( const std::string& user, const std::string& channel ) = 0;
+ virtual bool OnNick ( const std::string& oldNick, const std::string& newNick ) { return true; }
+
+ // OnJoin: someone just successfully joined a channel you are in ( also sent when you successfully join a channel )
+ virtual bool OnJoin ( const std::string& user, const std::string& channel ) { return true; }
+
+ // OnPart: someone just left a channel you are in
+ virtual bool OnPart ( const std::string& user, const std::string& channel ) { return true; }