Replace {from,to}Ascii with {from,to}Latin1
[quassel.git] / src / core / corenetwork.cpp
index 18f2784..b7d496a 100644 (file)
@@ -268,7 +268,7 @@ void CoreNetwork::putCmd(const QString &cmd, const QList<QByteArray> &params, co
 
     if (!prefix.isEmpty())
         msg += ":" + prefix + " ";
-    msg += cmd.toUpper().toAscii();
+    msg += cmd.toUpper().toLatin1();
 
     for (int i = 0; i < params.size(); i++) {
         msg += " ";