aboutsummaryrefslogtreecommitdiffstats
path: root/modules/overlays/overlay_impl.c
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2011-02-19 16:28:57 +0000
committerTom Feist <shabble@metavore.org>2011-02-19 16:28:57 +0000
commit5bbf53a0369922ea853efc51ff54adaa0f8686e1 (patch)
treeb17a6937ef859eb16909b6715da26ae868e10e0a /modules/overlays/overlay_impl.c
parentupdated auto-testing to ebe able to handle inputs, and partially process the ... (diff)
downloadirssi-scripts-5bbf53a0369922ea853efc51ff54adaa0f8686e1.tar.gz
irssi-scripts-5bbf53a0369922ea853efc51ff54adaa0f8686e1.zip
added a 'overlay' loadable module that's hopefully going to do osme dirty dirty
things to the curses layer.
Diffstat (limited to 'modules/overlays/overlay_impl.c')
-rw-r--r--modules/overlays/overlay_impl.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/overlays/overlay_impl.c b/modules/overlays/overlay_impl.c
index 6626680..dbb9748 100644
--- a/modules/overlays/overlay_impl.c
+++ b/modules/overlays/overlay_impl.c
@@ -5,14 +5,19 @@
void print_load_message(void) {
printtext(NULL, NULL, MSGLEVEL_CLIENTERROR,
- "Hello, World. xxx \"%s\"", MODULE_NAME);
+ "Hello, World, ~~ \"%s\"", MODULE_NAME);
}
+void print_random_message(char *str) {
+ printtext(NULL, NULL, MSGLEVEL_CLIENTCRAP,
+ "%s", str);
+}
+
void print_unload_message(void) {
printtext(NULL, NULL, MSGLEVEL_CLIENTERROR,
- "Goodbye, Cruel World. ~signed \"%s\"", MODULE_NAME);
+ "Goodbye, Cruel World. ~~ \"%s\"", MODULE_NAME);
}