]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Corrected UTF8 to UTF-8
authorLuke Fitzgerald <lw.fitzgerald@googlemail.com>
Wed, 21 Jul 2010 12:21:37 +0000 (05:21 -0700)
committerLuke Fitzgerald <lw.fitzgerald@googlemail.com>
Wed, 21 Jul 2010 12:21:37 +0000 (05:21 -0700)
plugins/Irc/README
plugins/Irc/ircmanager.php

index 5b86a0449931fd2a4ae3d8d69a3a874c0c3145dc..2429a5b81f265d6b16eb182c7506c0e28a49cf15 100644 (file)
@@ -21,7 +21,7 @@ password: Password
 nickservpassword: NickServ password for identification
 channels: Channels for bot to idle in
 transporttype: Set to 'ssl' to enable SSL
-encoding: Set to UTF8 to enable UTF8 encoding
+encoding: Set to change encoding
 
 * required
 
index 8919e005e307945d72a2e9c65019e9ac40798c42..c885064916c4532d65e7d2972876e3c6c5bbd4e8 100644 (file)
@@ -86,7 +86,7 @@ class IrcManager extends ImManager {
             $port = empty($this->plugin->port) ? 6667 : $this->plugin->port;
             $password = empty($this->plugin->password) ? '' : $this->plugin->password;
             $transport = empty($this->plugin->transporttype) ? 'tcp' : $this->plugin->transporttype;
-            $encoding = empty($this->plugin->encoding) ? 'UTF8' : $this->plugin->encoding;
+            $encoding = empty($this->plugin->encoding) ? 'UTF-8' : $this->plugin->encoding;
             $nickservpassword = empty($this->plugin->nickservpassword) ? '' : $this->plugin->nickservpassword;
             $channels = empty($this->plugin->channels) ? array() : $this->plugin->channels;