commit b7a92b6e7b3d665c0c5dfa245583b8d855c2a856
parent 932f3574a1c4206a6b1efbc5ae676346dabfbd8f
Author: Peter Kosyh <p.kosyh@gmail.com>
Date: Sun, 6 Sep 2020 11:25:22 +0300
forgotten printf
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/ii-node/web.go b/ii-node/web.go
@@ -338,7 +338,6 @@ func www_edit(user *ii.User, www WWW, w http.ResponseWriter, r *http.Request, id
msg := *m
ln := strings.Split(msg_clean(msg.Text), "\n")
if len(ln) > 0 {
- fmt.Printf("%s\n", ln[len(ln)-1])
if strings.HasPrefix(ln[len(ln)-1], "P.S. Edited: ") {
msg.Text = strings.Join(ln[:len(ln)-1], "\n")
}