diff options
author | Tom Feist <shabble@metavore.org> | 2011-04-22 02:27:12 +0000 |
---|---|---|
committer | Tom Feist <shabble@metavore.org> | 2011-04-22 02:27:12 +0000 |
commit | fe6e50a76dba36899782fdda0f97590ee5f02a3c (patch) | |
tree | a8ae7406048f00807ba54aecb5dfcd9c0dd08944 /modules/overlays/overlay_impl.c | |
parent | removed docs/ from dev branch, since they're all in their own repo (well, wiki) (diff) | |
parent | feature-tests/key_sig: test to see if there's any useful info in the 'keyboard (diff) | |
download | irssi-scripts-fe6e50a76dba36899782fdda0f97590ee5f02a3c.tar.gz irssi-scripts-fe6e50a76dba36899782fdda0f97590ee5f02a3c.zip |
Merge branch 'master' into dev
Diffstat (limited to '')
-rw-r--r-- | modules/overlays/overlay_impl.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/modules/overlays/overlay_impl.c b/modules/overlays/overlay_impl.c new file mode 100644 index 0000000..dbb9748 --- /dev/null +++ b/modules/overlays/overlay_impl.c @@ -0,0 +1,23 @@ +#include <overlay_irssi.h> +#include <overlay_impl.h> +#include <overlay_core.h> + +void print_load_message(void) { + + printtext(NULL, NULL, MSGLEVEL_CLIENTERROR, + "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. ~~ \"%s\"", MODULE_NAME); + +} + |