[eluser]Kola[/eluser]
Is there a particular reason for the following functions, not to be merged?
message();
set_message();
error();
set_error();
I managed to cook it down to 2 functions, 1 which takes the message, message type and the delimiter position (1,2) and then 1 function which selects the correct delimiter based on the type of message.
But I could be wrong, there might be some clever reason it's devided
Edit: which would be awesome to know as I'm coding a message feature into a core class of a site, rather than just the authentication system ^.-