summaryrefslogtreecommitdiffstats
path: root/debian/patches/topics.pl.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:19:02 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:19:02 +0000
commit0e345d89cd71bcdf5be0252ef6cadc6d76dabe3d (patch)
tree0f5ea7071b241b13bd624d615334876f3aacc37f /debian/patches/topics.pl.diff
parentAdding upstream version 20231031. (diff)
downloadirssi-scripts-0e345d89cd71bcdf5be0252ef6cadc6d76dabe3d.tar.xz
irssi-scripts-0e345d89cd71bcdf5be0252ef6cadc6d76dabe3d.zip
Adding debian version 20231031.debian/20231031debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/topics.pl.diff')
-rw-r--r--debian/patches/topics.pl.diff19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/topics.pl.diff b/debian/patches/topics.pl.diff
new file mode 100644
index 0000000..02ada07
--- /dev/null
+++ b/debian/patches/topics.pl.diff
@@ -0,0 +1,19 @@
+Description: topics.pl: show real time instead of epoch, remove quotes
+Forwarded: not-needed
+Author: Christoph Berg <myon@debian.org>
+Last-Update: 2006-07-22
+--- a/scripts/topics.pl
++++ b/scripts/topics.pl
+@@ -104,10 +104,10 @@
+ my $i = 0;
+ my $text;
+ foreach (@{$topics{$ircnet}{$name}{list}}) {
+- $text .= "%r[".$i."]%n ".$_->{topic_time}." (by ".$_->{topic_by}.")\n";
++ $text .= "%r[$i]%n ".scalar(localtime($_->{topic_time}))." ".$_->{topic_by}."\n";
+ my $topic = $_->{topic};
+ $topic =~ s/%/%%/g;
+- $text .= ' "'.$topic.'"'."\n";
++ $text .= " $topic\n";
+ $i++;
+ }
+ $witem->print($_, MSGLEVEL_CLIENTCRAP) foreach (split(/\n/, draw_box('Topics', $text, $name, 1)));