]> git.scottworley.com Git - reliable-chat/blobdiff - webclient/rc.html
Make /nick reminder a little more visible
[reliable-chat] / webclient / rc.html
index a896281f0247abfebcf20b46f87b637dfdaa0a2a..591bd212345b9b21617117f3b7e2b393f9f46949 100644 (file)
                                message = "<" + rcnick() + "> " + input;
                        }
 
                                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");
                        }
                        // 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>
                }
        }
   //--><!]]></script>