diff --git a/src/General/Build.coffee b/src/General/Build.coffee
index 84624ce67..0467cde62 100644
--- a/src/General/Build.coffee
+++ b/src/General/Build.coffee
@@ -52,6 +52,7 @@ Build =
pass: if data.since4pass? then "#{data.since4pass}" else undefined
uniqueID: data.id
flagCode: data.country
+ flagCodeTroll: data.troll_country
flag: Build.unescape data.country_name
dateUTC: data.time
dateText: data.now
@@ -104,7 +105,7 @@ Build =
post: (o) ->
{ID, threadID, boardID, file} = o
- {subject, email, name, tripcode, capcode, pass, uniqueID, flagCode, flag, dateUTC, dateText, commentHTML} = o.info
+ {subject, email, name, tripcode, capcode, pass, uniqueID, flagCode, flagCodeTroll, flag, dateUTC, dateText, commentHTML} = o.info
{staticPath, gifIcon} = Build
### Post Info ###
diff --git a/src/General/Build/PostInfo.html b/src/General/Build/PostInfo.html
index 06dbd624b..a81283b31 100644
--- a/src/General/Build/PostInfo.html
+++ b/src/General/Build/PostInfo.html
@@ -11,13 +11,8 @@
?{boardID === "f" && !o.isReply || capcodeDescription}{}{ }
?{capcodeDescription}{
}
?{uniqueID && !capcode}{ (ID: ${uniqueID})}
- ?{flagCode}{
- ?{boardID === "pol"}{
- \
- }{
- \
- }
- }
+ ?{flagCode}{ }
+ ?{flagCodeTroll}{
}
${dateText}
diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee
index b3894fa41..bc32aa3c3 100644
--- a/src/Posting/QR.coffee
+++ b/src/Posting/QR.coffee
@@ -596,27 +596,28 @@ QR =
textContent: val[1]
fn flag for flag in [
- ['0', 'None']
- ['US', 'American']
- ['KP', 'Best Korean']
+ ['0', 'Geographic Location']
+ ['AC', 'Anarcho-Capitalist']
+ ['AN', 'Anarchist']
['BL', 'Black Nationalist']
- ['CM', 'Communist']
['CF', 'Confederate']
- ['RE', 'Conservative']
+ ['CM', 'Communist']
+ ['DM', 'Democrat']
['EU', 'European']
+ ['FC', 'Fascist']
+ ['GN', 'Gadsden']
['GY', 'Gay']
- ['PC', 'Hippie']
- ['IL', 'Israeli']
- ['DM', 'Liberal']
- ['RP', 'Libertarian']
+ ['JH', 'Jihadi']
+ ['KN', 'Kekistani']
['MF', 'Muslim']
+ ['NB', 'National Bolshevik']
['NZ', 'Nazi']
- ['OB', 'Obama']
+ ['PC', 'Hippie']
['PR', 'Pirate']
- ['RB', 'Rebel']
- ['TP', 'Tea Partier']
- ['TX', 'Texan']
+ ['RE', 'Republican']
+ ['TM', 'Templar']
['TR', 'Tree Hugger']
+ ['UN', 'United Nations']
['WP', 'White Supremacist']
]
diff --git a/src/classes/Post.coffee b/src/classes/Post.coffee
index 16f2995ce..a252fe0e7 100644
--- a/src/classes/Post.coffee
+++ b/src/classes/Post.coffee
@@ -31,6 +31,7 @@ class Post
capcode: @nodes.capcode?.textContent.replace '## ', ''
pass: @nodes.pass?.title.match(/\d*$/)[0]
flagCode: @nodes.flag?.className.match(/flag-(\w+)/)?[1].toUpperCase()
+ flagCodeTroll: @nodes.flag?.src?.match(/(\w+)\.gif$/)?[1].toUpperCase()
flag: @nodes.flag?.title
date: if @nodes.date then new Date(@nodes.date.dataset.utc * 1000)