From 9bf45a739c8526ea30b2fc206c413b339275287d Mon Sep 17 00:00:00 2001 From: GRMrGecko Date: Fri, 30 Aug 2013 07:39:00 -0500 Subject: [PATCH] Somehow I forgot to make the NICK name changes be an action. This caused so many issues without me noticing. --- logmysql.cpp | 2 ++ logsqlite.cpp | 2 ++ 2 files changed, 4 insertions(+) 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 {