]> jfr.im git - irc/quakenet/qwebirc.git/commitdiff
Fix /me bug (thanks dunks).
authorChris Porter <redacted>
Fri, 5 Dec 2008 01:15:25 +0000 (01:15 +0000)
committerChris Porter <redacted>
Fri, 5 Dec 2008 01:15:25 +0000 (01:15 +0000)
Add lots more people to /about.

TODO.txt
js/irc/commandparser.js
js/irc/ircclient.js

index c44bdc1c374d3a3f3291bd2b5683fd1ba226227a..15c36fe3d8c3061922695f95d7ca02e137e17efc 100644 (file)
--- a/TODO.txt
+++ b/TODO.txt
@@ -23,3 +23,5 @@ Options pane:
   \r
 Other:\r
   BUG: IE7 seems to be broke\r
+  BUG: check to see if newlines are passed through (or \r).\r
+  
\ No newline at end of file
index cdc4e0ae8188b83319280db45b3acabcb22aeb7c..e085382cc9ede2b8aa562f52a4b6b6fa680a21f3 100644 (file)
@@ -213,7 +213,9 @@ qwebirc.irc.CommandParser = new Class({
       "- SoundManager 2 -- http://www.schillmania.com/projects/soundmanager2/",
       "  Copyright (C) 2007, Scott Schiller (schillmania.com), BSD license.",
       "",
-      "Thank you for flying QuakeNet!",
+      "Special thanks to various comments/suggestions/bug reports from Bazerka, meeb, Starman, Microbe, morphium, the muppets in #rogue (hi dunks!) and everyone I forgot :(.",
+      "",
+      "Also, thank *you* for flying QuakeNet!",
       "",
     ];
     
index c1955522f1781928306b9f026eba1bd933eacb57..9e121f8c8307b3d9af8e64bd819a072495ffaae3 100644 (file)
@@ -298,8 +298,9 @@ qwebirc.irc.IRCClient = new Class({
     if(args == undefined)
       args = "";
 
+    var nick = user.hostToNick();
     if(type == "ACTION") {
-      this.tracker.updateLastSpoke(user.hostToNick(), channel, new Date().getTime()); 
+      this.tracker.updateLastSpoke(nick, channel, new Date().getTime()); 
       this.newChanLine(channel, "CHANACTION", user, {"m": args, "c": channel, "@": this.getNickStatus(channel, nick)});
       return;
     }
@@ -345,7 +346,7 @@ qwebirc.irc.IRCClient = new Class({
     this.newChanLine(channel, "CHANMSG", user, {"m": message, "@": this.getNickStatus(channel, nick)});
   },
   channelNotice: function(user, channel, message) {
-    this.newChanLine(channel, "CHANNOTICE", user, {"m": message, "@": this.getNickStatus(channel, nick)});
+    this.newChanLine(channel, "CHANNOTICE", user, {"m": message, "@": this.getNickStatus(channel, user.hostToNick())});
   },
   userPrivmsg: function(user, message) {
     var nick = user.hostToNick();