Merge branch 'debugtime' into cba
This commit is contained in:
@@ -1884,7 +1884,15 @@ define([
|
||||
if (msg) {
|
||||
msg = msg.replace(/cp\|(([A-Za-z0-9+\/=]+)\|)?/, '');
|
||||
//var decryptedMsg = crypto.decrypt(msg, true);
|
||||
msgs.push(msg);
|
||||
if (data.debug) {
|
||||
msgs.push({
|
||||
msg: msg,
|
||||
author: parsed[1][1],
|
||||
time: parsed[1][5]
|
||||
});
|
||||
} else {
|
||||
msgs.push(msg);
|
||||
}
|
||||
}
|
||||
};
|
||||
network.on('message', onMsg);
|
||||
|
||||
Reference in New Issue
Block a user