aboutsummaryrefslogtreecommitdiffstats
path: root/modules/overlays/overlay_impl.c
blob: dbb974831724f540f45ccb029b8dbf7d016456b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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);

}