Added a getter for away state. Modules will be able to use users AWAY state, instead using a selfgenerated state for this ...
Uhm, that patch is broken.
$ patch < /tmp/download.php\?group_id\=115828\&atid\=672823\&file_id\=364435\&aid\=2959034
patch: **** Only garbage was found in the patch input
Ohh, Sorry, about that.
since I called diff just with the two files to process, it did not add the filenames to its output. The unified(-u) version should do the trick.
Patch doesn't apply:
error: patch failed: User.h:223
error: User.h: patch does not apply
Instead of complaining about this I just fixed it myself. No idea why I were so lazy last time.
Anyway, committed in r1903.