Skip to content

Commit 5068125

Browse files
committed
postpone.py 0.2.5: remove commented infolist code
1 parent e2c4348 commit 5068125

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

python/postpone.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
# (this script requires WeeChat 0.3.0 or newer)
2121
#
2222
# History:
23+
# 2021-04-05, Sébastien Helleu <[email protected]>
24+
# version 0.2.5: remove commented infolist code
2325
# 2019-07-24, Sébastien Helleu <[email protected]>
2426
# version 0.2.4: make script compatible with Python 3
2527
# 2015-04-29, Colgate Minuette <[email protected]>
@@ -40,7 +42,7 @@
4042

4143
SCRIPT_NAME = "postpone"
4244
SCRIPT_AUTHOR = "Alexander Schremmer <[email protected]>"
43-
SCRIPT_VERSION = "0.2.4"
45+
SCRIPT_VERSION = "0.2.5"
4446
SCRIPT_LICENSE = "GPL3"
4547
SCRIPT_DESC = "Postpones written messages for later dispatching if target nick is not on channel"
4648

@@ -108,11 +110,6 @@ def command_run_input(data, buffer, command):
108110
postpone_data.setdefault(server, {}).setdefault(channel,
109111
{}).setdefault(nick.lower(), []).append(save)
110112
w.buffer_set(buffer, 'input', "")
111-
# XXX why doesn't this work? i want to have the typed text
112-
# in the history
113-
#history_list = w.infolist_get("history", buffer, "")
114-
#history_item = w.infolist_new_item(history_list)
115-
#w.infolist_new_var_string(history_item, "text", input_s)
116113
return w.WEECHAT_RC_OK
117114

118115

0 commit comments

Comments
 (0)