summaryrefslogtreecommitdiffstats
path: root/ksirc/ksirc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/ksirc.cpp')
-rw-r--r--ksirc/ksirc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksirc/ksirc.cpp b/ksirc/ksirc.cpp
index b391b28a..296e9049 100644
--- a/ksirc/ksirc.cpp
+++ b/ksirc/ksirc.cpp
@@ -120,7 +120,7 @@ extern "C" KDE_EXPORT int kdemain( int argc, char ** argv )
if ( !server.isEmpty() ) {
TQString ser = TQString::fromLocal8Bit( server );
TQString port = "6667";
- if(ser.tqcontains(":")){
+ if(ser.contains(":")){
port = ser.section(":", 1, 1);
ser = ser.section(":", 0, 0);
}