updated logging
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { NameConfigInstance, ignoreMod } from './options'
|
||||
import { DEBUG, NameConfigInstance, ignoreMod } from './options'
|
||||
import { getRandomName, getStoredUser, setStoredUser } from './storage'
|
||||
import { ChatMessage } from './util'
|
||||
|
||||
@@ -9,7 +9,9 @@ export function obfuscator(
|
||||
return null
|
||||
}
|
||||
|
||||
console.log(`[OBFUSCATOR] Updating Username: ${chatMessage.username}`)
|
||||
if (DEBUG) {
|
||||
console.info(`[OBFUSCATOR] Updating Username: ${chatMessage.username}`)
|
||||
}
|
||||
|
||||
chatMessage.username = chatMessage.username.toLowerCase()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user