]> git.scottworley.com Git - reliable-chat/commitdiff
Leave out the anonymous nick reminders for now
authorScott Worley <sworley@chkno.net>
Fri, 3 Aug 2012 07:06:44 +0000 (00:06 -0700)
committerScott Worley <sworley@chkno.net>
Fri, 3 Aug 2012 07:06:44 +0000 (00:06 -0700)
Status messages complicate some upcoming history representation rework.
Also, theer's a plan for something better than this simple nagging.

webclient/rc.html

index 5d09dba0a661a1843c15cc39fbf3c51ea1303909..632956b21b522e6b7cc92c3b06bc15a30fcf8d5e 100644 (file)
                        status_indicator.setAttribute("class", "sad");
                        document.getElementById("status").appendChild(status_indicator);
                }
-               if (rcnick() == 'anonymous') {
-                       rcaddmessagetohistory("-!- Set your nick with /nick");
-               }
        }
 
        function rcsend(d, message) {
                        // Say the message
                        var d = rcaddmessagetohistory(message);
                        rcsend(d, message);
-
-                       // Remind people to set their nick
-                       if (rcnick() == 'anonymous') {
-                               rcaddmessagetohistory("-!- Set your nick with /nick");
-                       }
                }
        }
   //--><!]]></script>