Fix compilation error

I get this error using v0.10.2-dev

`server.ex:75: function function/3 undefined`