aboutsummaryrefslogtreecommitdiff
path: root/Plugin
diff options
context:
space:
mode:
Diffstat (limited to 'Plugin')
-rwxr-xr-xPlugin/Convert.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/Plugin/Convert.pm b/Plugin/Convert.pm
index 8d21457..e5f37e1 100755
--- a/Plugin/Convert.pm
+++ b/Plugin/Convert.pm
@@ -52,20 +52,20 @@ sub convert {
my $from = (split / to /, $rest)[0];
my $to = (split / to /, $rest)[1];
- return "Syntax: convert <from> [to <to>]\n" unless ($from);
+ return "Syntax: convert <from> [to <to>]" unless ($from);
my $converted = convert_common($from, $to);
- return "Define $from: $converted\n" unless $to;
- return "Convert $from -> $to: $converted\n";
+ return "Define $from: $converted" unless $to;
+ return "Convert $from -> $to: $converted";
}
sub define {
my ($self, $irc, $logger, $who, $where, $ided, $rest, $no_reenter, @arguments) = @_;
- return "Syntax: define [unit/expression]\n" unless ($rest);
+ return "Syntax: define [unit/expression]" unless ($rest);
my $defn = convert_common($rest, undef);
- return "Define $rest: $defn\n";
+ return "Define $rest: $defn";
}
1;