mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Don't mess with the encoding of extras modules in modulemanager.
This fixes installing extras modules such as m_qrcode which contain characters from outside of the Unicode Basic Multilingual Plane.
This commit is contained in:
parent
a137eb1c26
commit
c2f9865bb8
@ -75,7 +75,7 @@ sub parse_url {
|
||||
}
|
||||
|
||||
my $mod;
|
||||
for (split /\n+/, $response->decoded_content) {
|
||||
for (split /\n+/, $response->content) {
|
||||
s/^\s+//; # ignore whitespace at start
|
||||
next if /^#/;
|
||||
if (/^module (\S+) (\S+) (\S+)/) {
|
||||
@ -359,7 +359,7 @@ for my $mod (sort keys %todo) {
|
||||
|
||||
if ($response->is_success) {
|
||||
open(MF, ">src/modules/$mod.cpp") or die "\nFilesystem not writable: $!";
|
||||
print MF $response->decoded_content;
|
||||
print MF $response->content;
|
||||
close(MF);
|
||||
print " - done\n";
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user