mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Starting to work on some better pinging for usernames
This commit is contained in:
@@ -6,7 +6,7 @@ var Chat = {
|
||||
|
||||
namechange: function(newName)
|
||||
{
|
||||
socket.emit("namechange", newName);
|
||||
socket.emit("namechange", {name: newName, channel: chan.toLowerCase()});
|
||||
Crypt.set_name(newName);
|
||||
},
|
||||
|
||||
|
||||
@@ -154,6 +154,11 @@ $().ready(function(){
|
||||
}
|
||||
});
|
||||
}
|
||||
if(conf_arr != undefined && conf_arr.name !== undefined && conf_arr.name !== "") {
|
||||
setTimeout(function(){
|
||||
Chat.namechange(conf_arr.name);
|
||||
}, 1000);
|
||||
}
|
||||
});
|
||||
|
||||
socket.on("self_ping", function() {
|
||||
|
||||
Reference in New Issue
Block a user