home · contact · privacy
On server re-start, send reminder mail to re-identify via NickServ.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 11 Oct 2015 18:35:08 +0000 (20:35 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 11 Oct 2015 18:35:08 +0000 (20:35 +0200)
bin/screen-irssi.sh
mails/irssi_identify_reminder [new file with mode: 0644]

index 4f11aa288431d767c40a761ca0893c2047fb7d58..1e61f46d85a2f7651acf73bfc381c18d6fcf34c4 100755 (executable)
@@ -11,3 +11,6 @@ echo 1
 # Start irssi in shell in screen.
 screen -d -m -S irssi
 screen -S irssi -X stuff 'irssi\n'
+
+# Send mail to remind user to re-identify to NickServ.
+~/config/bin/simplemail.sh ~/config/mails/irssi_identify_reminder
diff --git a/mails/irssi_identify_reminder b/mails/irssi_identify_reminder
new file mode 100644 (file)
index 0000000..739ceec
--- /dev/null
@@ -0,0 +1,4 @@
+irssi restarted, re-identify!
+
+Your irssi was restarted, so don't forget to re-identify to Nickserv via
+"/msg nickserv identify [password]".