projects
/
euphorik.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MOD some cleanup in the doc folder
[euphorik.git]
/
js
/
chat
/
commandes.js
diff --git
a/js/chat/commandes.js
b/js/chat/commandes.js
index
dbcc76a
..
fb822aa
100644
(file)
--- a/
js/chat/commandes.js
+++ b/
js/chat/commandes.js
@@
-25,7
+25,7
@@
*
* Voici les commandes supportées :
* /nick <nouveau nick>
*
* Voici les commandes supportées :
* /nick <nouveau nick>
- * Modifie le
pseudo
courant
+ * Modifie le
nick
courant
*/
euphorik.Commandes = function(client, pageMinichat, util, formater) {
var thisCommandes = this;
*/
euphorik.Commandes = function(client, pageMinichat, util, formater) {
var thisCommandes = this;
@@
-50,16
+50,16
@@
euphorik.Commandes.statut = {ok : 0, pas_une_commande : 1, erreur_commande : 2};
euphorik.Commandes.liste = {
"nick" : {
euphorik.Commandes.liste = {
"nick" : {
- description : "Change le
pseudo
courant",
- usage : "/nick <nouveau
pseudo
>",
+ description : "Change le
nick
courant",
+ usage : "/nick <nouveau
nick
>",
exec : function(args, client) {
if (args.length === 0) {
return [euphorik.Commandes.statut.erreur_commande, 'Utilisation de la commande : ' + this.usage];
}
exec : function(args, client) {
if (args.length === 0) {
return [euphorik.Commandes.statut.erreur_commande, 'Utilisation de la commande : ' + this.usage];
}
- client.
pseudo
= args[0];
- $("form#posterMessage input.
pseudo").val(client.pseudo
);
+ client.
nick
= args[0];
+ $("form#posterMessage input.
nick").val(client.nick
);
return [euphorik.Commandes.statut.ok, ''];
}
return [euphorik.Commandes.statut.ok, ''];
}
@@
-105,7
+105,7
@@
euphorik.Commandes.prototype.exec = function(chaine) {
this.util.messageDialog(
this.texteAide,
euphorik.Util.messageType.informatif,
this.util.messageDialog(
this.texteAide,
euphorik.Util.messageType.informatif,
- {"
fermer
" : function(){}},
+ {"
close
" : function(){}},
false,
-1
);
false,
-1
);