]> git.scottworley.com Git - reliable-chat/commitdiff
Make /nick reminder a little more visible
authorScott Worley <sworley@chkno.net>
Wed, 1 Aug 2012 05:15:21 +0000 (22:15 -0700)
committerScott Worley <sworley@chkno.net>
Wed, 1 Aug 2012 05:15:21 +0000 (22:15 -0700)
webclient/rc.html

index a896281f0247abfebcf20b46f87b637dfdaa0a2a..591bd212345b9b21617117f3b7e2b393f9f46949 100644 (file)
                                message = "<" + rcnick() + "> " + input;
                        }
 
+                       // 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");
                        }
-
-                       // Say the message
-                       var d = rcaddmessagetohistory(message);
-                       rcsend(d, message);
                }
        }
   //--><!]]></script>