diff --git a/logmysql.cpp b/logmysql.cpp index e252c2e..720d5d8 100755 --- a/logmysql.cpp +++ b/logmysql.cpp @@ -1233,6 +1233,8 @@ public: PutUser(prefixString+":"+data["nick"]+" NOTICE "+data["target"]+" :"+timeString+"quit: "+data["message"]); } else if (data["type"].Equals("MODE")) { PutUser(prefixString+":"+data["nick"]+" NOTICE "+data["target"]+" :"+timeString+"changed mode: "+data["message"]); + } else if (data["type"].Equals("NICK")) { + PutUser(prefixString+":"+data["nick"]+" NOTICE "+data["target"]+" :"+timeString+"changed nick: "+data["message"]); } else if (data["type"].Equals("ACTION")) { PutUser(prefixString+":"+data["nick"]+" PRIVMSG "+data["target"]+" :\001ACTION "+timeString+data["message"]+"\001"); } else { diff --git a/logsqlite.cpp b/logsqlite.cpp index 1e5820e..dfae1c1 100755 --- a/logsqlite.cpp +++ b/logsqlite.cpp @@ -952,6 +952,8 @@ public: PutUser(prefixString+":"+data["nick"]+" NOTICE "+data["target"]+" :"+timeString+"quit: "+data["message"]); } else if (data["type"].Equals("MODE")) { PutUser(prefixString+":"+data["nick"]+" NOTICE "+data["target"]+" :"+timeString+"changed mode: "+data["message"]); + } else if (data["type"].Equals("NICK")) { + PutUser(prefixString+":"+data["nick"]+" NOTICE "+data["target"]+" :"+timeString+"changed nick: "+data["message"]); } else if (data["type"].Equals("ACTION")) { PutUser(prefixString+":"+data["nick"]+" PRIVMSG "+data["target"]+" :\001ACTION "+timeString+data["message"]+"\001"); } else {