typedef uint32_t word32; /* NOT unsigned long. We don't support 16 bit platforms, anyway. */
typedef unsigned char byte;
-struct xMD5Context {
+class xMD5Context : public classbase
+{
+ public:
word32 buf[4];
word32 bytes[2];
word32 in[16];
// SAMODE in unreal. Note that to the user it will appear as if they set
// the mode on themselves.
- char* modes[2]; // only two parameters
+ const char* modes[2]; // only two parameters
modes[0] = user->nick; // first parameter is the nick
modes[1] = "+x"; // second parameter is the mode
Srv->SendMode(modes,2,user); // send these, forming the command "MODE <nick> +x"