From 8856d9fc3ddfd86280f2335732d30044fa3931f2 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 15 Jun 2002 19:39:40 +0000 Subject: '/' char shouldn't be used in command() examples. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2855 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- docs/perl.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/perl.txt') diff --git a/docs/perl.txt b/docs/perl.txt index 59c05a00..cf390a74 100644 --- a/docs/perl.txt +++ b/docs/perl.txt @@ -91,11 +91,11 @@ Here's an example: } if ($data) { - $server->command("/MSG $data Hello!"); + $server->command("MSG $data Hello!"); } elsif ($witem && ($witem->{type} eq "CHANNEL" || $witem->{type} eq "QUERY")) { # there's query/channel active in window - $witem->command("/MSG ".$witem->{name}." Hello!"); + $witem->command("MSG ".$witem->{name}." Hello!"); } else { Irssi::print("Nick not given, and no active channel/query in window"); } -- cgit v1.2.3