aboutsummaryrefslogblamecommitdiffstats
path: root/modules/overlays/overlay_impl.c
blob: dbb974831724f540f45ccb029b8dbf7d016456b5 (plain) (tree)
1
2
3
4
5
6
7
8






                                               
                                                      


 




                                              


                                               
                                                              


 
#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);

}