Thanks for the reply. I managed to figure it out after a little bit of thought and you're right, it is easier than the open string case.
I do have another quick question if anyone's willing to have a go. I've been reading Green, Schwarz and Witten and their take on canonical
quantization of the bosonic string. Ordinarily, I'd define the Poisson brackets of two functions

and

in a discrete classical theory as
Now, at the moment I'm looking at the canonical quantization of the closed bosonic string. I take the BDH action (or Polyakov action, if you prefer) and put it in conformal gauge. I can calculate the canonical
momentum density to be
At this stage, Green et al define (it's equation 2.1.52 in the book) the equal time Poisson brackets of

and

as
The problem I have with this is that it's actually the opposite of the definition of Poisson brackets that I gave at the start. In particular, this definition of the Poisson brackets would seem to correspond to
I can calculate all of the Poisson brackets for the closed and open strings, including those for the oscillator modes. The thing is that I'm kind of concerned about the minus sign error that I'm getting with my definition of Poisson brackets compared with that used by GSW. Is there a particular reason why they've chosen to define the Poisson brackets in this way, or am I making a terribly simple mistake somewhere?
Again, thanks for your help.